/* Thank-you / onboarding page (EasyFunnel + SalesFunnel). */

:root {
  --wp-ty-bg: #06101f;
  --wp-ty-panel: rgba(15, 23, 42, 0.9);
  --wp-ty-panel-strong: rgba(15, 23, 42, 0.98);
  --wp-ty-line: rgba(148, 163, 184, 0.22);
  --wp-ty-ink: #f8fafc;
  --wp-ty-muted: #cbd5e1;
  --wp-ty-blue: #38bdf8;
  --wp-ty-green: #22c55e;
  --wp-ty-yellow: #facc15;
  --wp-ty-purple: #8b5cf6;
  --wp-ty-max: 78rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  min-width: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.wp-ty {
  margin: 0;
  overflow-x: clip;
  color: var(--wp-ty-ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 15% 0%, rgba(56, 189, 248, 0.24), transparent 30rem),
    radial-gradient(circle at 88% 12%, rgba(34, 197, 94, 0.18), transparent 30rem),
    linear-gradient(180deg, #06101f 0%, #0f172a 48%, #020617 100%);
}

body.wp-ty a {
  color: inherit;
}

.wp-ty__page {
  width: min(var(--wp-ty-max), calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(28px, 5vw, 58px) 0 clamp(54px, 8vw, 88px);
}

.wp-ty__column,
.wp-ty__column--wide,
.wp-ty__column--footer {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.wp-ty__column {
  max-width: 56rem;
}

.wp-ty__column--wide,
.wp-ty__column--footer {
  max-width: var(--wp-ty-max);
}

.wp-ty__brand,
.wp-ty__hero,
.wp-ty__upgrade,
.wp-ty__dashboard,
.wp-ty__column--footer {
  text-align: center;
}

.wp-ty__brand {
  margin: 0 0 clamp(20px, 4vw, 36px);
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 2.3rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.wp-ty__brand span,
.wp-ty__hero-emoji {
  color: var(--wp-ty-yellow);
}

.wp-ty__hero,
.wp-ty__upgrade,
.wp-ty__card,
.wp-ty__dashboard,
.wp-ty__step,
.wp-ty__bonus,
.wp-ty__video,
.wp-ty__video-placeholder {
  border: 1px solid var(--wp-ty-line);
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.34);
}

.wp-ty__hero {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 68px) clamp(18px, 4vw, 46px);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 0%, rgba(250, 204, 21, 0.2), transparent 28rem),
    linear-gradient(145deg, rgba(8, 47, 73, 0.96), rgba(15, 23, 42, 0.96));
}

.wp-ty__hero-emoji {
  margin: 0 0 0.75rem;
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1;
}

.wp-ty__hero h1,
.wp-ty__h2 {
  margin: 0 0 1rem;
  color: #fff;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.wp-ty__hero h1 {
  font-size: clamp(2.4rem, 7vw, 5rem);
}

.wp-ty__h2 {
  font-size: clamp(1.65rem, 4vw, 2.75rem);
}

.wp-ty__hero p,
.wp-ty__sub,
.wp-ty__card p,
.wp-ty__step p,
.wp-ty__footer-msg {
  color: var(--wp-ty-muted);
  font-size: clamp(1rem, 1.8vw, 1.1rem);
}

.wp-ty__status,
.wp-ty__checks,
.wp-ty__steps,
.wp-ty__bonuses {
  display: grid;
  gap: 1rem;
}

.wp-ty__status {
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  margin: 1.4rem 0;
}

.wp-ty__status span,
.wp-ty__checks li,
.wp-ty__upgrade-list li,
.wp-ty__bonus {
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 999px;
  padding: 0.6rem 0.8rem;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 900;
}

.wp-ty__cta-primary,
.wp-ty__cta-secondary,
.wp-ty__upgrade-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 34rem);
  min-height: 56px;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  color: #111827;
  background: linear-gradient(135deg, var(--wp-ty-yellow), var(--wp-ty-green));
  box-shadow: 0 18px 46px rgba(34, 197, 94, 0.28);
  font-weight: 900;
  text-decoration: none;
}

.wp-ty__cta-secondary {
  width: auto;
  min-height: 48px;
  margin-top: 0.8rem;
  background: linear-gradient(135deg, #bfdbfe, var(--wp-ty-blue));
}

.wp-ty__upgrade {
  margin: clamp(22px, 4vw, 36px) auto;
  padding: clamp(20px, 4vw, 34px);
  border-radius: 24px;
  background: rgba(20, 83, 45, 0.36);
}

.wp-ty__upgrade h2 {
  margin-top: 0;
  color: #fff;
}

.wp-ty__upgrade-list,
.wp-ty__checks {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  margin: 1rem 0;
  padding: 0;
  list-style: none;
}

.wp-ty__upgrade-price {
  color: var(--wp-ty-yellow);
  font-weight: 900;
}

.wp-ty__divider {
  margin: clamp(26px, 5vw, 44px) 0;
  border: 0;
  border-top: 1px solid var(--wp-ty-line);
}

.wp-ty__steps,
.wp-ty__bonuses {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.wp-ty__step,
.wp-ty__card,
.wp-ty__dashboard {
  margin: clamp(18px, 3vw, 28px) auto;
  padding: clamp(18px, 3vw, 28px);
  border-radius: 22px;
  background: var(--wp-ty-panel);
}

.wp-ty__step-num {
  display: inline-flex;
  margin: 0 0 0.7rem;
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  color: #111827 !important;
  background: var(--wp-ty-yellow);
  font-size: 0.78rem !important;
  font-weight: 900;
  text-transform: uppercase;
}

.wp-ty__step h3 {
  margin: 0 0 0.65rem;
  color: #fff;
}

.wp-ty__dashboard {
  max-width: var(--wp-ty-max);
  background:
    radial-gradient(circle at 50% 0%, rgba(56, 189, 248, 0.18), transparent 26rem),
    var(--wp-ty-panel-strong);
}

.wp-ty__dashboard-inner {
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.wp-ty__dashboard-figure {
  width: 100%;
  margin: 0;
}

.wp-ty__dashboard-img {
  display: block;
  width: min(100%, 920px);
  height: auto;
  margin: 0 auto;
  border-radius: 22px;
  border: 1px solid var(--wp-ty-line);
}

.wp-ty__video {
  overflow: hidden;
  border-radius: 22px;
  background: #020617;
}

.wp-ty__video iframe,
.wp-ty__video-placeholder {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

.wp-ty__video-placeholder {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(56, 189, 248, 0.18), transparent 24rem),
    rgba(15, 23, 42, 0.92);
}

.wp-ty__video-placeholder a {
  color: var(--wp-ty-yellow);
  font-weight: 900;
}

.wp-ty__bonus {
  border-radius: 18px;
  text-align: center;
}

.wp-ty__footer-msg {
  margin-top: 1.4rem;
}

@media (max-width: 760px) {
  .wp-ty__page {
    width: min(100% - 24px, var(--wp-ty-max));
    padding-top: 22px;
  }

  .wp-ty__hero h1 {
    font-size: clamp(2.25rem, 12vw, 4rem);
  }

  .wp-ty__cta-primary,
  .wp-ty__cta-secondary,
  .wp-ty__upgrade-btn {
    width: 100%;
  }
}
