/* Thank You page — 01 Thank You (from Corewave Thank You Page.html) */

@keyframes cw-thank-you-hero-fade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes cw-thank-you-hero-draw {
  from {
    stroke-dashoffset: 60;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes cw-thank-you-hero-ring {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes cw-thank-you-hero-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(212, 245, 60, 0.6);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(212, 245, 60, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(212, 245, 60, 0);
  }
}

.cw-thank-you-hero {
  background:
    radial-gradient(760px 520px at 85% 30%, rgba(255, 85, 39, 0.18), transparent 70%),
    #141210;
  color: #f3efe7;
  font-family: 'Inter', system-ui, sans-serif;
  width: 100%;
  padding: clamp(56px, 7vw, 110px) clamp(20px, 4vw, 40px);
  box-sizing: border-box;
}

.cw-thank-you-hero__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 460px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.cw-thank-you-hero__copy {
  display: flex;
  flex-direction: column;
  gap: 26px;
  min-width: 0;
  animation: cw-thank-you-hero-fade 0.5s both;
}

.cw-thank-you-hero__eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #ff7a50;
}

.cw-thank-you-hero__eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d4f53c;
  animation: cw-thank-you-hero-pulse 1.6s infinite;
}

.cw-thank-you-hero__title {
  margin: 0;
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(64px, 9vw, 136px);
  line-height: 0.88;
  letter-spacing: -0.055em;
  color: #f3efe7;
}

.cw-thank-you-hero__title-em {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 500;
  color: #d4f53c;
}

.cw-thank-you-hero__lead {
  margin: 0;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.7;
  color: #cfc9be;
  text-wrap: pretty;
}

.cw-thank-you-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.cw-thank-you-hero__btn {
  height: 56px;
  padding: 0 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cw-thank-you-hero__btn--primary {
  background: #e0431c;
  color: #fff;
}

.cw-thank-you-hero__btn--primary:hover,
.cw-thank-you-hero__btn--primary:focus-visible {
  background: #ff5527;
  color: #fff;
}

.cw-thank-you-hero__btn--ghost {
  padding: 0 26px;
  border: 1px solid rgba(243, 239, 231, 0.2);
  background: transparent;
  color: #f3efe7;
  font-weight: 600;
}

.cw-thank-you-hero__btn--ghost:hover,
.cw-thank-you-hero__btn--ghost:focus-visible {
  border-color: #d4f53c;
  color: #d4f53c;
}

.cw-thank-you-hero__countdown {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 420px;
}

.cw-thank-you-hero__countdown-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  color: #8e877c;
}

.cw-thank-you-hero__countdown-stay {
  all: unset;
  cursor: pointer;
  color: #d4f53c;
}

.cw-thank-you-hero__countdown-stay:hover,
.cw-thank-you-hero__countdown-stay:focus-visible {
  text-decoration: underline;
}

.cw-thank-you-hero__countdown-track {
  height: 3px;
  border-radius: 3px;
  background: rgba(243, 239, 231, 0.1);
  overflow: hidden;
}

.cw-thank-you-hero__countdown-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #e0431c, #d4f53c);
  transition: width 1s linear;
}

.cw-thank-you-hero__panel {
  background: #1c1a17;
  border: 1px solid rgba(243, 239, 231, 0.08);
  border-radius: 28px;
  padding: clamp(22px, 2.8vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
  animation: cw-thank-you-hero-fade 0.6s 0.1s both;
  min-width: 0;
}

.cw-thank-you-hero__panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.cw-thank-you-hero__panel-kicker {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #8e877c;
}

.cw-thank-you-hero__ref {
  all: unset;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(243, 239, 231, 0.16);
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 12px;
  color: #f3efe7;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.cw-thank-you-hero__ref:hover,
.cw-thank-you-hero__ref:focus-visible {
  border-color: #d4f53c;
  color: #d4f53c;
}

.cw-thank-you-hero__status {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cw-thank-you-hero__check {
  flex: none;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #d4f53c;
  display: grid;
  place-items: center;
  animation: cw-thank-you-hero-ring 0.6s cubic-bezier(0.2, 0.8, 0.2, 1.2) both;
}

.cw-thank-you-hero__check-path {
  stroke-dasharray: 60;
  animation: cw-thank-you-hero-draw 0.7s 0.35s both;
}

.cw-thank-you-hero__status-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.cw-thank-you-hero__status-title {
  font-family: 'Inter Tight', 'Inter', sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: -0.02em;
}

.cw-thank-you-hero__status-sub {
  font-size: 14px;
  color: #a39c90;
}

.cw-thank-you-hero__steps {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cw-thank-you-hero__step {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  width: 100%;
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: background 0.25s ease, color 0.25s ease;
  text-align: left;
  color: #f3efe7;
  background: #141210;
}

.cw-thank-you-hero__step--done {
  background: rgba(212, 245, 60, 0.08);
}

.cw-thank-you-hero__step--active {
  background: #f3efe7;
  color: #141210;
}

.cw-thank-you-hero__step-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cw-thank-you-hero__step-mark {
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(243, 239, 231, 0.25);
  color: #141210;
  font-size: 11px;
  font-weight: 700;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
}

.cw-thank-you-hero__step--done .cw-thank-you-hero__step-mark {
  background: #d4f53c;
}

.cw-thank-you-hero__step--active .cw-thank-you-hero__step-mark {
  background: #cfc4f6;
}

.cw-thank-you-hero__step-title {
  flex: 1;
  font-weight: 700;
  font-size: 15px;
}

.cw-thank-you-hero__step-when {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  opacity: 0.7;
}

.cw-thank-you-hero__step-desc {
  padding-left: 36px;
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.85;
  text-wrap: pretty;
  animation: cw-thank-you-hero-fade 0.3s both;
}

@media (prefers-reduced-motion: reduce) {
  .cw-thank-you-hero__copy,
  .cw-thank-you-hero__panel,
  .cw-thank-you-hero__check,
  .cw-thank-you-hero__check-path,
  .cw-thank-you-hero__eyebrow-dot,
  .cw-thank-you-hero__step-desc {
    animation: none;
  }

  .cw-thank-you-hero__countdown-fill {
    transition: none;
  }
}
