.registration-page {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 12% 4%, rgba(124, 58, 237, .22), transparent 28%),
    radial-gradient(circle at 90% 28%, rgba(37, 99, 235, .10), transparent 30%),
    var(--bg);
  color: var(--text);
}

.registration-shell { width: min(1240px, calc(100% - 32px)); margin: 0 auto; padding: 28px 0 64px; }
.registration-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.registration-brand { display: inline-flex; align-items: center; gap: 11px; color: var(--text); text-decoration: none; }
.registration-brand img { width: 50px; height: 50px; border-radius: 13px; }
.registration-brand span { display: grid; }
.registration-brand strong { font-size: 23px; }
.registration-brand small { color: var(--muted); }
.registration-security { color: var(--muted); font-size: 14px; }
.registration-security span { color: #34d399; margin-right: 7px; }

.registration-hero { max-width: 850px; margin: 58px auto 34px; text-align: center; }
.registration-hero h1 { margin: 18px 0 12px; font-size: clamp(38px, 5vw, 62px); line-height: 1.04; letter-spacing: -.035em; }
.registration-hero p { max-width: 760px; margin: 0 auto; color: var(--muted); font-size: 18px; line-height: 1.65; }
.activation-promotion { display: grid; gap: 5px; max-width: 720px; margin: 22px auto 0; padding: 16px 20px; border: 1px solid rgba(52, 211, 153, .5); border-radius: 16px; background: linear-gradient(135deg, rgba(16, 185, 129, .17), rgba(124, 58, 237, .13)); box-shadow: 0 16px 42px rgba(16, 185, 129, .08); }
.activation-promotion strong { color: #6ee7b7; font-size: 17px; }
.activation-promotion span { color: var(--text); line-height: 1.45; }
.activation-promotion em { color: #a7f3d0; font-size: 13px; font-style: normal; font-weight: 800; }

.registration-plans { padding: 28px; border: 1px solid var(--border); border-radius: 22px; background: rgba(15, 23, 42, .76); box-shadow: 0 24px 80px rgba(2, 6, 23, .18); }
.registration-plans-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 22px; border-bottom: 1px solid var(--border); }
.registration-plans-heading h2 { margin: 0 0 5px; font-size: 27px; }
.registration-plans-heading p { margin: 0; color: var(--muted); }
.billing-switch { display: inline-flex; flex: 0 0 auto; gap: 4px; padding: 4px; border: 1px solid var(--border); border-radius: 13px; background: rgba(2, 6, 23, .35); }
.billing-switch button { padding: 10px 17px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: inherit; font-weight: 800; cursor: pointer; white-space: nowrap; }
.billing-switch button span { margin-left: 4px; color: #34d399; font-size: 12px; }
.billing-switch button.is-active { background: linear-gradient(135deg, #7c3aed, #4f46e5); color: #fff; box-shadow: 0 8px 24px rgba(124, 58, 237, .28); }

.plan-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 22px; }
.plan-choice-loading { grid-column: 1 / -1; padding: 30px; color: var(--muted); text-align: center; }
.plan-choice { position: relative; display: flex; flex-direction: column; min-width: 0; min-height: 340px; padding: 22px; border: 1px solid var(--border); border-radius: 18px; background: rgba(15, 23, 42, .78); color: var(--text); text-align: left; cursor: pointer; transition: border-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.plan-choice:hover { transform: translateY(-2px); border-color: rgba(139, 92, 246, .72); }
.plan-choice.is-selected { border-color: #8b5cf6; box-shadow: 0 0 0 2px rgba(139, 92, 246, .22), 0 18px 46px rgba(79, 70, 229, .14); background: linear-gradient(155deg, rgba(124, 58, 237, .15), rgba(15, 23, 42, .92) 42%); }
.plan-choice-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.plan-choice h3 { margin: 0; font-size: 23px; }
.plan-recommended { padding: 5px 9px; border-radius: 999px; background: rgba(139, 92, 246, .2); color: #c4b5fd; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .04em; }
.plan-choice-price { margin: 20px 0 4px; font-size: 38px; font-weight: 900; letter-spacing: -.04em; }
.plan-choice-price small { color: var(--muted); font-size: 15px; font-weight: 700; letter-spacing: 0; }
.plan-choice-billing { min-height: 38px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.plan-choice-activation { display: block; margin-top: 10px; padding: 9px 11px; border: 1px solid rgba(52, 211, 153, .28); border-radius: 10px; background: rgba(16, 185, 129, .08); color: #6ee7b7; font-size: 13px; font-weight: 850; line-height: 1.4; }
.plan-saving { color: #34d399; font-weight: 800; }
.plan-choice-description { margin: 15px 0; color: var(--muted); line-height: 1.5; }
.plan-choice ul { display: grid; gap: 8px; margin: auto 0 18px; padding: 0; list-style: none; color: var(--muted); font-size: 14px; }
.plan-choice li::before { content: "✓"; margin-right: 8px; color: #34d399; font-weight: 900; }
.plan-choice-action { display: flex; align-items: center; justify-content: center; min-height: 45px; border: 1px solid var(--border); border-radius: 11px; font-weight: 900; }
.plan-choice.is-selected .plan-choice-action { border-color: transparent; background: linear-gradient(135deg, #7c3aed, #4f46e5); color: #fff; }

.enterprise-choice { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 16px; padding: 20px 22px; border: 1px solid rgba(139, 92, 246, .34); border-radius: 16px; background: rgba(124, 58, 237, .07); }
.enterprise-choice h3 { margin: 3px 0 5px; font-size: 21px; }
.enterprise-choice p { margin: 0; color: var(--muted); }
.enterprise-choice .btn { flex: 0 0 auto; white-space: nowrap; }
.enterprise-kicker, .summary-kicker { color: #a78bfa; font-size: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }

.registration-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(500px, 1.18fr); gap: 28px; align-items: stretch; margin-top: 28px; }
.registration-summary { padding: 28px; border: 1px solid var(--border); border-radius: 20px; background: rgba(15, 23, 42, .5); }
.registration-plan { margin: 11px 0 18px; padding: 18px; border: 1px solid rgba(139, 92, 246, .46); border-radius: 14px; background: rgba(124, 58, 237, .1); }
.registration-plan strong { display: block; margin-bottom: 4px; font-size: 22px; }
.registration-plan span { color: var(--muted); line-height: 1.5; }
.registration-plan b { display: block; margin-top: 10px; color: #f8fafc; font-size: 14px; line-height: 1.45; }
.registration-plan b.activation-free { color: #6ee7b7; }
.registration-plan del { margin-left: 5px; color: var(--muted); font-weight: 600; }
.registration-plan em { display: block; margin-top: 7px; color: #34d399; font-style: normal; font-size: 13px; font-weight: 800; }
.attribution-notice { margin-bottom: 22px; }
.registration-steps { padding-top: 4px; }
.registration-steps h2 { margin: 0 0 17px; font-size: 22px; }
.registration-steps ol { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.registration-steps li { display: flex; gap: 13px; }
.registration-steps li > span { display: grid; flex: 0 0 34px; height: 34px; place-items: center; border-radius: 10px; background: rgba(124, 58, 237, .17); color: #c4b5fd; font-weight: 900; }
.registration-steps p { margin: 3px 0 0; color: var(--muted); line-height: 1.45; }
.registration-trust { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.registration-trust span { padding: 7px 9px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted); font-size: 12px; }

.registration-card { padding: 28px; }
.registration-card h2 { margin: 0 0 5px; font-size: 28px; }
.registration-card .btn-primary { min-height: 52px; font-size: 16px; }
.registration-consent { display: flex; align-items: flex-start; gap: 10px; color: var(--muted); line-height: 1.45; }
.registration-consent input { margin-top: 4px; }

@media (max-width: 980px) {
  .plan-choice-grid { grid-template-columns: 1fr; }
  .plan-choice { min-height: 0; }
  .registration-grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .registration-shell { width: calc(100% - 20px); max-width: 1240px; padding-top: 18px; }
  .registration-security { display: none; }
  .registration-hero { margin-top: 38px; }
  .registration-hero h1 { font-size: 38px; }
  .registration-plans, .registration-summary, .registration-card { padding: 20px; }
  .registration-plans-heading, .enterprise-choice { align-items: stretch; flex-direction: column; }
  .billing-switch { align-self: stretch; }
  .billing-switch button { flex: 1; }
  .enterprise-choice .btn { width: 100%; white-space: normal; text-align: center; }
}
