:root {
  --ink: #302b45;
  --soft: #817c91;
  --purple: #9d55ec;
  --purple-dark: #7440cf;
  --mint: #5de0b4;
  --mint-dark: #2dbf91;
  --paper: #ffffff;
  --line: #e7e2ec;
  --shadow: 0 28px 80px rgba(55, 35, 92, .18);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #eeeaf6; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 10%, rgba(120, 219, 221, .36), transparent 28rem),
    radial-gradient(circle at 90% 80%, rgba(188, 151, 245, .34), transparent 30rem),
    #f4f1f8;
}
button, input { font: inherit; }

.pricing-screen {
  width: min(680px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 80px rgba(49, 31, 82, .12);
}

.payment-header {
  height: 72px;
  padding: 8px 18px;
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
}
.back-link {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: 15px;
  color: #4f4373;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 8px 24px rgba(62, 44, 99, .1);
  font-size: 1.35rem;
  text-decoration: none;
  backdrop-filter: blur(12px);
}
.payment-brand {
  width: 190px;
  height: 70px;
  justify-self: center;
  overflow: hidden;
}
.payment-brand img {
  width: 184px;
  height: 108px;
  margin-top: -20px;
  object-fit: contain;
}

.progress-hero {
  height: 400px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(151deg, rgba(139, 104, 225, .44), rgba(107, 211, 210, .52) 56%, rgba(189, 238, 210, .66)),
    #cfc4f7;
}
.progress-hero::after {
  content: "";
  height: 155px;
  position: absolute;
  right: 0;
  bottom: -2px;
  left: 0;
  z-index: 3;
  background: linear-gradient(180deg, rgba(255,255,255,0), #fff 82%);
}
.hero-ray {
  width: 240px;
  height: 620px;
  position: absolute;
  top: -170px;
  left: 50%;
  opacity: .22;
  background: rgba(255, 255, 255, .82);
  transform-origin: 50% 100%;
}
.hero-ray-one { transform: translateX(-185px) rotate(-20deg); }
.hero-ray-two { transform: translateX(60px) rotate(22deg); }

.insight-card {
  width: 44%;
  min-height: 310px;
  padding: 23px 18px;
  position: absolute;
  top: 88px;
  z-index: 2;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 27px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 24px 55px rgba(57, 43, 98, .2);
}
.insight-card p {
  margin: 0 0 17px;
  font-size: .78rem;
  font-weight: 850;
  text-align: center;
}
.skills-card { left: 7%; transform: rotate(-6deg); }
.goals-card { right: 4%; top: 105px; transform: rotate(5deg); }
.skill-wheel {
  width: 142px;
  height: 142px;
  margin: 0 auto 17px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #fff 0 18%, transparent 19%),
    conic-gradient(#9960df 0 18%, #d9c9f4 18% 34%, #aee7d3 34% 50%, #f3c9d9 50% 66%, #fae6b5 66% 82%, #bcdcf6 82% 100%);
  box-shadow: inset 0 0 0 14px rgba(255,255,255,.7);
}
.skill-wheel span {
  width: 30px;
  height: 30px;
  border: 6px solid #fff;
  border-radius: 50%;
  background: #f1ba55;
}
.skills-card strong, .skills-card small { display: block; }
.skills-card strong { color: var(--purple-dark); font-size: .78rem; }
.skills-card small { margin-top: 7px; color: var(--soft); font-size: .64rem; line-height: 1.45; }
.goals-card ul { margin: 0; padding: 0; display: grid; gap: 9px; list-style: none; }
.goals-card li {
  min-height: 56px;
  padding: 9px;
  display: grid;
  grid-template-columns: 31px 1fr auto;
  align-items: center;
  gap: 7px;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 7px 19px rgba(61, 43, 96, .08);
}
.goals-card li > span {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #b360ec, #744ed3);
}
.goals-card li b { font-size: .65rem; line-height: 1.2; }
.goals-card li small { color: var(--soft); font-size: .58rem; white-space: nowrap; }

.pricing-content {
  min-height: calc(100vh - 340px);
  margin-top: -24px;
  padding: 0 clamp(18px, 5vw, 34px) 34px;
  position: relative;
  z-index: 4;
  border-radius: 30px 30px 0 0;
  background: #fff;
}
.checkout-step {
  margin: 0 0 7px;
  color: var(--purple-dark);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-align: center;
}

.offer-heading { min-height: 173px; text-align: center; }
.offer-kicker {
  margin: 0 0 5px;
  color: var(--purple);
  font-size: clamp(1.7rem, 7vw, 2.55rem);
  font-weight: 900;
  letter-spacing: -.035em;
}
.offer-heading.is-promo .offer-kicker {
  color: var(--mint-dark);
  animation: offer-pop .55s cubic-bezier(.2, .85, .25, 1.2);
}
.offer-heading h1 {
  margin: 0;
  font-size: clamp(1.45rem, 5vw, 2rem);
  line-height: 1.1;
  letter-spacing: -.035em;
}
.offer-message {
  margin: 13px auto 0;
  color: var(--soft);
  font-size: .88rem;
  line-height: 1.4;
}
.offer-message strong { color: var(--ink); }

.countdown { margin-top: 10px; }
.countdown[hidden] { display: none !important; }
.countdown > p { margin: 0 0 8px; font-size: .82rem; font-weight: 750; }
.countdown-units { display: flex; align-items: flex-start; justify-content: center; gap: 8px; }
.countdown-units > span { display: grid; justify-items: center; }
.countdown-units b {
  min-width: 58px;
  height: 51px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: #292631;
  box-shadow: inset 0 -5px 0 rgba(0,0,0,.13);
  font-size: 1.55rem;
  letter-spacing: .04em;
}
.countdown-units small { margin-top: 4px; color: var(--soft); font-size: .58rem; font-weight: 800; }
.countdown-units i { margin-top: 7px; font-size: 1.7rem; font-style: normal; font-weight: 900; }

.plans {
  margin: 5px 0 14px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: 9px;
}
.plan {
  min-width: 0;
  min-height: 194px;
  padding: 20px 8px 13px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  border: 2px solid var(--line);
  border-radius: 26px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 10px 25px rgba(62, 45, 90, .08);
  cursor: pointer;
  text-align: center;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.plan:hover { transform: translateY(-3px); }
.plan.is-selected {
  min-height: 214px;
  border: 4px solid var(--purple);
  border-radius: 28px;
  box-shadow: 0 14px 32px rgba(138, 75, 217, .2);
  transform: translateY(-2px);
}
.plan-badge {
  min-height: 35px;
  padding: 8px 9px;
  position: absolute;
  top: -4px;
  right: -4px;
  left: -4px;
  display: grid;
  place-items: center;
  border-radius: 24px 24px 12px 12px;
  color: #fff;
  background: linear-gradient(135deg, #b35aec, #8149d9);
  font-size: .72rem;
  font-style: normal;
  font-weight: 850;
}
.plan-trial {
  min-height: 27px;
  position: absolute;
  top: 10px;
  font-size: .67rem;
  font-weight: 850;
}
.plan-duration { display: flex; align-items: baseline; gap: 4px; }
.plan-duration strong { font-size: clamp(2.2rem, 8vw, 3.2rem); line-height: .88; }
.plan-duration span { font-size: .8rem; font-weight: 800; text-transform: uppercase; }
.plan-daily { margin: 10px 0 3px; font-size: clamp(.82rem, 3vw, 1.05rem); font-weight: 850; white-space: nowrap; }
.plan-price { min-height: 39px; display: grid; align-content: end; justify-items: center; }
.plan-price strong { font-size: .92rem; }
.plan-price del { color: #aaa5b2; font-size: .72rem; }
.plan:not(.is-promo) .plan-price del { display: none; }
.plan.is-promo { animation: price-reveal .55s ease both; }

.payment-summary {
  min-height: 38px;
  margin: 5px auto 13px;
  color: var(--soft);
  font-size: .78rem;
  line-height: 1.45;
  text-align: center;
}

.buyer-details {
  margin: 0 0 13px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #faf8fd;
  animation: details-in .3s ease both;
}
.buyer-details > label:first-child {
  margin-bottom: 7px;
  display: block;
  color: var(--soft);
  font-size: .72rem;
  font-weight: 800;
}
#email {
  width: 100%;
  min-height: 49px;
  padding: 0 14px;
  border: 1px solid #dcd4e6;
  border-radius: 14px;
  outline: none;
  color: var(--ink);
  background: #fff;
}
#email:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(157, 85, 236, .1); }
.terms {
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: 18px 1fr;
  align-items: start;
  gap: 9px;
  color: var(--soft);
  font-size: .66rem;
  line-height: 1.35;
}
.terms input { width: 17px; height: 17px; margin: 0; accent-color: var(--purple); }

.checkout-button, .state-button {
  width: 100%;
  min-height: 68px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  border: 0;
  border-radius: 22px;
  color: #183e34;
  background: linear-gradient(135deg, #64e5bd, #53dbaa);
  box-shadow: 0 14px 30px rgba(56, 200, 158, .25);
  font-size: 1.12rem;
  font-weight: 850;
  cursor: pointer;
}
.checkout-button:hover, .state-button:hover { background: linear-gradient(135deg, #75ecc8, #60dfb1); }
.checkout-button:disabled { opacity: .58; cursor: wait; }
.legal-copy {
  max-width: 540px;
  margin: 18px auto 0;
  color: #a19ca9;
  font-size: .65rem;
  line-height: 1.45;
  text-align: center;
}

.checkout-state {
  min-height: 360px;
  padding: 40px 14px;
  text-align: center;
}
.checkout-state[hidden] { display: none; }
.checkout-state h2 { margin: 16px 0 10px; font-size: 2rem; }
.checkout-state p { max-width: 420px; margin: 0 auto 24px; color: var(--soft); line-height: 1.6; }
.state-icon {
  width: 75px;
  height: 75px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple), #e269a8);
  font-size: 2.25rem;
}
.state-secondary { margin-top: 17px; display: inline-block; color: var(--purple-dark); font-weight: 800; }

@keyframes offer-pop {
  0% { opacity: 0; transform: scale(.78) translateY(10px); }
  100% { opacity: 1; transform: none; }
}
@keyframes price-reveal {
  0% { opacity: .6; transform: translateY(8px) scale(.97); }
  100% { opacity: 1; }
}
@keyframes details-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 520px) {
  .progress-hero { height: 355px; }
  .insight-card { top: 82px; min-height: 270px; padding: 18px 13px; }
  .goals-card { top: 94px; }
  .skill-wheel { width: 116px; height: 116px; }
  .goals-card li { min-height: 48px; grid-template-columns: 27px 1fr; }
  .goals-card li > span { width: 27px; height: 27px; }
  .goals-card li small { display: none; }
  .pricing-content { margin-top: -20px; padding-inline: 14px; }
  .offer-heading { min-height: 166px; }
  .plans { gap: 6px; }
  .plan { min-height: 177px; padding-inline: 4px; border-radius: 22px; }
  .plan.is-selected { min-height: 196px; border-width: 3px; border-radius: 24px; }
  .plan-badge { font-size: .62rem; }
  .plan-duration span { font-size: .67rem; }
  .plan-daily { font-size: .75rem; }
  .plan-price strong { font-size: .82rem; }
}

@media (max-width: 370px) {
  .payment-brand { width: 160px; }
  .payment-brand img { width: 155px; }
  .progress-hero { height: 330px; }
  .insight-card { min-height: 245px; }
  .skill-wheel { width: 96px; height: 96px; }
  .skills-card small { display: none; }
  .goals-card li:nth-child(3) { display: none; }
  .plan { min-height: 164px; }
  .plan.is-selected { min-height: 183px; }
  .plan-duration strong { font-size: 2rem; }
  .plan-duration span { font-size: .57rem; }
  .plan-daily { font-size: .67rem; }
  .plan-price strong { font-size: .75rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Unified three-step onboarding shell. Step 2 is the visual source of truth. */
.pricing-screen {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(360px,.92fr) minmax(560px,1.08fr);
  overflow: visible;
  background: #f8f5fb;
  box-shadow: none;
}

.pricing-visual {
  min-height: 100vh;
  padding: 34px clamp(34px,5vw,78px) 48px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  background: linear-gradient(150deg,rgba(74,48,123,.98),rgba(118,82,185,.94)),#65489f;
}

.pricing-visual::before,
.pricing-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.pricing-visual::before {
  width: 420px;
  height: 420px;
  top: -190px;
  right: -180px;
  border: 70px solid rgba(255,255,255,.07);
}

.pricing-visual::after {
  width: 320px;
  height: 320px;
  left: -130px;
  bottom: -190px;
  background: rgba(101,226,186,.12);
}

.pricing-visual .back-link {
  width: 42px;
  height: 42px;
  position: absolute;
  z-index: 3;
  top: 26px;
  left: 28px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,.1);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.pricing-visual .payment-brand {
  width: 192px;
  height: 104px;
  position: absolute;
  z-index: 4;
  top: 8px;
  right: 18px;
  display: block;
  overflow: visible;
  isolation: isolate;
  perspective: 520px;
}

.pricing-visual .payment-logo-art {
  width: 192px;
  height: 104px;
  margin: 0;
  display: block;
  position: relative;
  transform-style: preserve-3d;
}

.pricing-visual .payment-logo-art img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  margin: 0;
  object-fit: contain;
}

.payment-logo-base {
  filter: drop-shadow(0 12px 22px rgba(28,14,57,.24));
}

.payment-logo-hair {
  z-index: 2;
  pointer-events: none;
  filter: saturate(1.06) brightness(1.035);
  will-change: transform;
}

.payment-hair-crown {
  clip-path: polygon(7% 3%,31% 2%,36% 16%,32% 32%,22% 39%,9% 31%,3% 18%);
  transform-origin: 22% 17%;
  animation: payment-hair-crown-wind 4.6s cubic-bezier(.45,0,.3,1) infinite;
}

.payment-hair-side {
  clip-path: polygon(4% 17%,25% 12%,31% 27%,27% 53%,20% 70%,8% 68%,1% 45%);
  transform-origin: 16% 31%;
  animation: payment-hair-side-wind 4.1s cubic-bezier(.42,0,.28,1) -.7s infinite;
}

.payment-ribbon-tail {
  z-index: 3;
  clip-path: polygon(17% 70%,29% 75%,44% 81%,62% 79%,81% 70%,96% 68%,98% 92%,82% 87%,62% 94%,41% 97%,24% 89%);
  transform-origin: 24% 81%;
  animation: payment-ribbon-tail-wind 5.3s cubic-bezier(.4,0,.25,1) -1.1s infinite;
}

.payment-logo-spark {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  color: #f59ac6;
  line-height: 1;
  text-shadow: 0 0 9px rgba(245,154,198,.48);
  animation: payment-logo-sparkle 3.8s ease-in-out infinite;
}

.payment-logo-spark-one { top: 15px; left: 83px; font-size: 13px; }
.payment-logo-spark-two { top: 34px; right: 7px; color: #d8c5ff; font-size: 17px; animation-delay: 1.25s; }
.payment-logo-spark-three { right: 49px; bottom: 9px; font-size: 10px; animation-delay: 2.5s; }

@keyframes payment-hair-crown-wind {
  0%,100% { transform: rotate(-.7deg) skewX(-.25deg) translate3d(-.4px,.2px,0); }
  38% { transform: rotate(1.35deg) skewX(1.1deg) translate3d(1.3px,-1px,0); }
  68% { transform: rotate(.2deg) skewX(-.5deg) translate3d(.3px,-.3px,0); }
}

@keyframes payment-hair-side-wind {
  0%,100% { transform: rotate(.55deg) skewY(-.5deg) translate3d(0,0,0); }
  42% { transform: rotate(-1.5deg) skewY(1.25deg) translate3d(-1.4px,1px,0); }
  73% { transform: rotate(.85deg) skewY(-.25deg) translate3d(.8px,-.4px,0); }
}

@keyframes payment-ribbon-tail-wind {
  0%,100% { transform: rotate(.15deg) skewY(-.35deg) scaleX(.992) translate3d(0,0,0); }
  36% { transform: rotate(-.45deg) skewY(1deg) scaleX(1.012) translate3d(2px,-1px,0); }
  67% { transform: rotate(.5deg) skewY(-.8deg) scaleX(1.004) translate3d(.8px,1px,0); }
}

@keyframes payment-logo-sparkle {
  0%,16%,100% { opacity: .18; transform: rotate(-18deg) scale(.48); }
  28% { opacity: 1; transform: rotate(5deg) scale(1.12); }
  42% { opacity: .82; transform: rotate(14deg) scale(.86); }
  58% { opacity: 0; transform: rotate(26deg) scale(.35); }
}

.pricing-visual-copy,
.pricing-progress-card,
.pricing-story-card,
.pricing-benefits { position: relative; z-index: 1; }

.pricing-visual-copy { max-width: 540px; }

.visual-kicker {
  margin: 0 0 16px;
  color: #c9f7e8;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .16em;
}

.pricing-visual-copy h1 {
  margin: 0;
  max-width: 540px;
  color: #fff;
  font-size: clamp(36px,4.2vw,64px);
  line-height: .98;
  letter-spacing: -.055em;
}

.pricing-visual-copy > p:last-child {
  margin: 24px 0 0;
  max-width: 520px;
  color: rgba(255,255,255,.78);
  font-size: 17px;
  line-height: 1.55;
}

.pricing-progress-card {
  max-width: 520px;
  margin-top: 30px;
  padding: 16px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 24px;
  background: rgba(255,255,255,.11);
  box-shadow: 0 22px 46px rgba(25,12,57,.14);
  backdrop-filter: blur(18px);
}

.pricing-story-card {
  max-width: 540px;
  margin-top: 30px;
  padding: 24px 24px 23px 64px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 24px;
  background: rgba(255,255,255,.11);
  box-shadow: 0 22px 46px rgba(25,12,57,.14);
  backdrop-filter: blur(18px);
}

.pricing-story-mark {
  width: 36px;
  height: 36px;
  position: absolute;
  top: 24px;
  left: 18px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #6647a5;
  background: linear-gradient(145deg,#f4edff,#d8fff2);
}

.pricing-story-card p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 15px;
  line-height: 1.55;
}

.pricing-story-card p + p { margin-top: 13px; color: #fff; font-weight: 800; }
.pricing-story-card strong { color: #fff; }

.pricing-progress-heading {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-progress-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: #6647a5;
  background: linear-gradient(145deg,#f4edff,#d8fff2);
}

.pricing-progress-heading div { display: flex; flex-direction: column; gap: 2px; }
.pricing-progress-heading small { color: rgba(255,255,255,.62); font-size: 11px; }
.pricing-progress-heading strong { color: #fff; font-size: 16px; }

.pricing-progress-body {
  margin-top: 13px;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
}

.pricing-skill-wheel {
  width: 104px;
  height: 104px;
  position: relative;
  display: grid;
  place-items: center;
  border: 10px solid rgba(255,255,255,.76);
  border-radius: 50%;
  background:
    radial-gradient(circle at center,#fff 0 23%,transparent 24%),
    conic-gradient(#9f73ef 0 21%,#75e6bd 21% 39%,#f2a9c8 39% 57%,#ffd990 57% 72%,#91c9ed 72% 100%);
  box-shadow: 0 14px 30px rgba(30,15,66,.18);
  transform: rotate(-7deg);
}

.pricing-skill-wheel::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.58);
  border-radius: 50%;
}

.pricing-skill-wheel span {
  position: relative;
  z-index: 1;
  color: #7653bd;
  font-size: 15px;
  transform: rotate(7deg);
}

.pricing-goals {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 7px;
  list-style: none;
}

.pricing-goals li {
  min-height: 36px;
  padding: 7px 9px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 8px;
  align-items: center;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 13px;
  background: rgba(255,255,255,.09);
}

.pricing-goals li > span {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.pricing-goals strong {
  overflow: hidden;
  color: #fff;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pricing-goals small {
  flex: 0 0 auto;
  color: rgba(255,255,255,.62);
  font-size: 9px;
}

.goal-icon {
  width: 28px;
  height: 28px;
  position: relative;
  border-radius: 9px;
  background: linear-gradient(145deg,#b68bf5,#8b5dd7);
}

.goal-icon::before,
.goal-icon::after {
  content: "";
  position: absolute;
  border: 1.5px solid #fff;
}

.goal-icon-create::before { inset: 7px; transform: rotate(45deg); border-radius: 3px; }
.goal-icon-create::after { width: 8px; top: 5px; left: 10px; border-width: 0 0 1.5px; transform: rotate(-25deg); }
.goal-icon-speak::before { width: 12px; height: 8px; top: 7px; left: 7px; border-radius: 50%; }
.goal-icon-speak::after { width: 5px; height: 5px; top: 14px; left: 9px; border-width: 0 0 1.5px 1.5px; transform: skew(-20deg); }
.goal-icon-independent::before { inset: 7px; border-radius: 50%; }
.goal-icon-independent::after { width: 5px; height: 9px; top: 6px; left: 12px; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }

.pricing-benefits {
  margin-top: 20px;
}

.pricing-benefits {
  margin: 27px 0 0;
  padding: 0;
  display: grid;
  gap: 11px;
  color: rgba(255,255,255,.86);
  font-size: 14px;
  list-style: none;
}

.pricing-benefits span { margin-right: 9px; color: #75e6bd; font-weight: 900; }

.pricing-panel {
  min-width: 0;
  min-height: 100vh;
  padding: 34px clamp(20px,4.5vw,76px) 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pricing-content {
  width: min(100%,680px);
  min-height: 0;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.checkout-step {
  margin: 0 0 16px;
  color: #8b64cf;
  font-size: 12px;
  letter-spacing: .16em;
  text-align: left;
}

.offer-heading {
  min-height: 154px;
  text-align: left;
}

.offer-kicker {
  margin-bottom: 7px;
  font-size: 1rem;
  letter-spacing: .08em;
}

.offer-heading.is-promo .offer-kicker { font-size: clamp(1.8rem,3.2vw,2.55rem); letter-spacing: -.035em; }

.offer-heading h1 {
  max-width: 620px;
  font-size: clamp(32px,3.7vw,48px);
  line-height: 1;
}

.offer-message { margin-left: 0; text-align: left; }
.countdown { display: block; }
.countdown > p { max-width: none; margin: 0 0 9px; line-height: 1.35; }
.countdown-units { justify-content: flex-start; gap: 5px; }
.countdown-units b {
  min-width: 52px;
  height: 49px;
  border-radius: 13px;
  font-size: 1.4rem;
}
.countdown-units i { margin-top: 7px; font-size: 1.55rem; }

.plans { margin-top: 15px; gap: 10px; }
.plans.is-after-trial {
  width: min(100%,500px);
  margin-inline: auto;
  grid-template-columns: repeat(2,minmax(0,1fr));
}
.plan { min-height: 180px; }
.plan.is-selected { min-height: 200px; }
.plan-duration strong { font-size: clamp(2.1rem,4vw,3rem); }
.plan-daily { font-size: clamp(.78rem,1.3vw,1rem); }
.plan.is-trial .plan-trial {
  width: 100%;
  min-width: 0;
  min-height: 0;
  position: static;
  right: auto;
  left: auto;
  display: grid;
  place-items: center;
  z-index: 2;
  color: #fff;
  font-size: clamp(.82rem,1.45vw,1.05rem);
  line-height: 1.16;
  letter-spacing: .08em;
  text-shadow: 0 2px 8px rgba(72,35,128,.22);
}
.plan.is-trial .plan-trial > span {
  display: block;
  width: 100%;
  max-width: 100%;
  padding-inline: 8px;
  text-align: center;
  white-space: nowrap;
}
.plan.is-trial .plan-trial strong {
  margin-bottom: 4px;
  font-size: clamp(3.25rem,5.6vw,4.7rem);
  line-height: .9;
  letter-spacing: -.06em;
}
.plan.is-trial {
  isolation: isolate;
  overflow: visible;
  justify-content: center;
  gap: 17px;
  padding: 28px 14px 22px;
  border: 3px solid #75e4cc;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(circle at 28% 22%,rgba(255,255,255,.25) 0 3%,transparent 4%),
    linear-gradient(155deg,#8d55dc 0%,#a657dc 44%,#e76ca9 100%);
  box-shadow:
    0 0 0 3px rgba(117,228,204,.16),
    0 18px 34px rgba(137,73,203,.24),
    inset 0 1px 0 rgba(255,255,255,.35);
}
.plan.is-trial::before,
.plan.is-trial::after {
  content: "";
  width: 22px;
  height: 44px;
  position: absolute;
  z-index: 3;
  top: 64%;
  border: 3px solid #75e4cc;
  background: #f8f5fb;
  transform: translateY(-50%);
}
.plan.is-trial::before {
  left: -3px;
  border-left: 0;
  border-radius: 0 24px 24px 0;
}
.plan.is-trial::after {
  right: -3px;
  border-right: 0;
  border-radius: 24px 0 0 24px;
}
.plan.is-trial:hover {
  border-color: #86f2da;
  box-shadow:
    0 0 0 5px rgba(117,228,204,.2),
    0 22px 40px rgba(137,73,203,.3),
    inset 0 1px 0 rgba(255,255,255,.35);
}
.plan.is-trial.is-selected {
  border-color: #8af3dd;
  box-shadow:
    0 0 0 5px rgba(117,228,204,.24),
    0 22px 42px rgba(132,65,201,.34),
    inset 0 1px 0 rgba(255,255,255,.38);
}
.trial-spark {
  position: absolute;
  z-index: 2;
  color: #fff;
  filter: drop-shadow(0 2px 4px rgba(83,40,140,.25));
  pointer-events: none;
  animation: trial-sparkle 2.4s ease-in-out infinite;
}
.trial-spark-one { top: 24px; left: 22px; font-size: 1.25rem; }
.trial-spark-two { top: 30px; right: 19px; color: #ff9dce; font-size: 1.45rem; transform: rotate(14deg); animation-delay: -.7s; }
.trial-spark-three { right: 25px; bottom: 25px; color: #cbb0ff; font-size: 1.05rem; animation-delay: -1.3s; }
.trial-arrow {
  width: 49px;
  height: 49px;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255,255,255,.88);
  border-radius: 50%;
  color: #fff;
  background: rgba(102,55,172,.18);
  box-shadow: 0 8px 18px rgba(76,36,130,.18);
  font-size: 1.75rem;
  line-height: 1;
  transition: transform .22s ease, background .22s ease;
}
.plan.is-trial:hover .trial-arrow { background: rgba(255,255,255,.2); transform: translateX(3px); }
@keyframes trial-sparkle {
  0%,100% { opacity: .55; transform: scale(.85) rotate(-5deg); }
  50% { opacity: 1; transform: scale(1.12) rotate(7deg); }
}
.plan.is-trial .plan-duration strong { color: #269875; }
.plan.is-trial .plan-daily { margin-top: 0; }

.terms a,
.legal-copy a { color: #5d35b4; font-weight: 800; }

.payment-legal-footer {
  padding: 24px clamp(18px,4vw,48px);
  color: #625b75;
  background: #fffaf7;
  border-top: 1px solid #e8dff1;
  text-align: center;
}
.payment-legal-footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px 18px; }
.payment-legal-footer a { color: #5d35b4; font-size: .78rem; font-weight: 750; }
.payment-legal-footer p { margin: 14px 0 0; font-size: .8rem; }

.subscription-cancel {
  margin-top: 18px;
  padding: 0;
  border: 0;
  color: #6b42b6;
  background: transparent;
  font: inherit;
  font-size: .84rem;
  font-weight: 850;
  text-decoration: underline;
  cursor: pointer;
}
.subscription-cancel:disabled { opacity: .55; cursor: wait; }

.subscription-manage {
  margin-top: 18px;
  padding: 11px 18px;
  border: 1px solid #d8c8ef;
  border-radius: 13px;
  color: #5d35b4;
  background: #fff;
  font: inherit;
  font-size: .88rem;
  font-weight: 850;
  cursor: pointer;
}

.subscription-management {
  width: min(100%,560px);
  margin: 24px auto 0;
  padding: 20px;
  border: 1px solid #e0d4f0;
  border-radius: 20px;
  background: #fff;
  text-align: left;
  box-shadow: 0 16px 40px rgba(61,39,102,.08);
}

.yookassa-review-address {
  position: sticky;
  top: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 54px;
  padding: 10px 18px;
  color: #2f2453;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid rgba(103, 72, 180, .2);
  box-shadow: 0 8px 28px rgba(46, 28, 91, .12);
  font-size: .88rem;
  line-height: 1.25;
}

.yookassa-review-address span {
  color: #786f89;
}

.yookassa-review-address strong {
  color: #5b33bb;
  font-weight: 850;
}

@media (max-width: 620px) {
  .yookassa-review-address {
    flex-direction: column;
    gap: 2px;
    min-height: 62px;
    text-align: center;
  }
}
.subscription-management dl { margin: 0; }
.subscription-management dl > div {
  display: grid;
  grid-template-columns: minmax(130px,.8fr) minmax(170px,1.2fr);
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid #eee7f6;
}
.subscription-management dt { color: #746d82; font-size: .8rem; }
.subscription-management dd { margin: 0; color: #2e2540; font-size: .84rem; font-weight: 800; }
.subscription-access-note { margin: 16px 0 0; color: #6d6579; font-size: .78rem; line-height: 1.45; }
.subscription-success,
.subscription-unlinked {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  color: #176d54;
  background: #e8fff5;
  font-size: .82rem;
  font-weight: 800;
}
.subscription-unlinked { margin: 16px 0 0; }
.subscription-unlink {
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
  border: 1px solid #e24955;
  border-radius: 13px;
  color: #c3313e;
  background: #fff;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.subscription-modal {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(25,19,36,.7);
  backdrop-filter: blur(5px);
}
.subscription-modal-card {
  position: relative;
  width: min(100%,460px);
  padding: 30px;
  border-radius: 22px;
  background: #fff;
  text-align: center;
  box-shadow: 0 24px 80px rgba(16,11,27,.28);
}
.subscription-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  border: 0;
  color: #766d80;
  background: transparent;
  font-size: 1.7rem;
  cursor: pointer;
}
.subscription-modal-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 13px;
  border-radius: 50%;
  color: #d62f3d;
  background: #fff0f1;
  font-weight: 900;
}
.subscription-modal-card h2 { margin: 0; color: #2e2540; font-size: 1.45rem; }
.subscription-modal-card > p { color: #6c6577; font-size: .88rem; line-height: 1.45; }
.subscription-modal-detail {
  margin: 18px 0 0;
  padding: 14px;
  border: 1px solid #e9e1f3;
  border-radius: 13px;
  background: #fbf9fe;
  text-align: left;
}
.subscription-modal-detail span { display: block; color: #81798c; font-size: .72rem; }
.subscription-modal-detail strong { display: block; margin-top: 4px; color: #332945; font-size: .86rem; }
.subscription-modal-note {
  padding: 12px 14px;
  border-radius: 12px;
  color: #8b3b45 !important;
  background: #fff3f4;
  font-weight: 750;
}
.subscription-modal-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.subscription-modal-actions button {
  min-height: 48px;
  border-radius: 12px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}
.subscription-unlink-confirm { border: 0; color: #fff; background: #e24450; }
.subscription-unlink-confirm:disabled { opacity: .6; cursor: wait; }
.subscription-modal-back { border: 1px solid #ded5e8; color: #433653; background: #fff; }

@media (max-width: 520px) {
  .subscription-management { padding: 16px; }
  .subscription-management dl > div { grid-template-columns: 1fr; gap: 5px; }
  .subscription-modal-card { padding: 28px 18px 20px; }
  .subscription-modal-actions { grid-template-columns: 1fr; }
}

.checkout-button {
  min-height: 58px;
  border-radius: 17px;
  justify-content: space-between;
  color: #fff;
  background: linear-gradient(135deg,#8a5fd0,#6a48ad);
  box-shadow: 0 14px 28px rgba(105,71,173,.24);
}

.checkout-button:hover { background: linear-gradient(135deg,#9368d8,#7250b7); }

@media (max-width: 980px) {
  .pricing-screen { grid-template-columns: 1fr; }
  .pricing-visual {
    min-height: 500px;
    padding: 100px 24px 30px;
    justify-content: flex-end;
  }
  .pricing-visual-copy h1 { font-size: clamp(34px,10vw,48px); }
  .pricing-visual-copy > p:last-child,
  .pricing-benefits { display: none; }
  .pricing-progress-card {
    max-width: 570px;
    margin-top: 25px;
  }
  .pricing-story-card { max-width: 570px; margin-top: 24px; }
  .pricing-panel { min-height: auto; padding: 34px 20px 44px; }
  .pricing-content { width: min(100%,680px); }
}

@media (max-width: 520px) {
  .pricing-visual { min-height: 525px; padding: 92px 20px 28px; }
  .pricing-visual .payment-brand {
    width: 156px;
    height: 85px;
    top: 4px;
    right: 8px;
  }
  .pricing-visual .payment-logo-art { width: 156px; height: 85px; }
  .payment-logo-spark-one { top: 12px; left: 67px; }
  .payment-logo-spark-two { top: 28px; right: 5px; }
  .payment-logo-spark-three { right: 40px; bottom: 7px; }
  .pricing-progress-card { padding: 13px; }
  .pricing-story-card { padding: 19px 18px 18px 56px; }
  .pricing-story-mark { top: 19px; left: 14px; }
  .pricing-story-card p { font-size: 13px; line-height: 1.48; }
  .pricing-progress-body { grid-template-columns: 82px 1fr; gap: 10px; }
  .pricing-skill-wheel { width: 78px; height: 78px; border-width: 7px; }
  .pricing-goals li { min-height: 31px; padding: 5px 7px; grid-template-columns: 24px 1fr; }
  .goal-icon { width: 24px; height: 24px; }
  .pricing-goals strong { font-size: 10px; }
  .pricing-goals small { display: none; }
  .pricing-panel { padding-inline: 14px; }
  .pricing-content { margin: 0; padding-inline: 0; }
  .offer-heading { min-height: 166px; }
  .offer-heading h1 { font-size: 36px; }
  .countdown { align-items: flex-start; flex-direction: column; gap: 8px; }
  .countdown > p { max-width: none; }
  .plans { gap: 6px; }
  .plan.is-trial { padding-inline: 10px; }
  .plan.is-trial .plan-trial {
    font-size: clamp(.68rem,2.8vw,.76rem);
    letter-spacing: .035em;
    line-height: 1.1;
  }
  .plan.is-trial .plan-trial > span { padding-inline: 5px; }
  .plan.is-trial .plan-trial strong {
    font-size: clamp(3rem,13vw,3.65rem);
  }
}
