/* ─── Reset & Base ──────────────────────────────────────── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --sunone-a: #9F2583;
    --sunone-b: #ED5DA5;
    --dark-bg: #0a1425;
    --dark-card: #111d33;
    --dark-input: #0f1a2e;
    --border: rgba(255, 255, 255, .07);
    --border-focus: rgba(237, 93, 165, .4);
    --text-muted: rgba(255, 255, 255, .4);
    --text-soft: rgba(255, 255, 255, .65);
    --text-white: #ffffff;
    --radius-sm: 10px;
    --radius-md: 16px;
    --transition: .22s cubic-bezier(.4, 0, .2, 1);
}

body {
    font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
    background: var(--dark-bg);
    color: var(--text-white);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ─── Background mesh ───────────────────────────────────── */
.bg-mesh {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 50% at 10% 15%, rgba(159, 37, 131, .16) 0%, transparent 60%),
        radial-gradient(ellipse 50% 55% at 88% 82%, rgba(237, 93, 165, .10) 0%, transparent 60%),
        var(--dark-bg);
}

.bg-mesh::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, rgba(255, 255, 255, .018) 0px, rgba(255, 255, 255, .018) 1px, transparent 1px, transparent 64px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, .018) 0px, rgba(255, 255, 255, .018) 1px, transparent 1px, transparent 64px);
}

/* ─── Floating orbs ─────────────────────────────────────── */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
    z-index: 0;
    animation: floatOrb 14s ease-in-out infinite alternate;
}

.orb-1 {
    width: 520px;
    height: 520px;
    background: rgba(159, 37, 131, .13);
    top: -160px;
    left: -160px;
}

.orb-2 {
    width: 420px;
    height: 420px;
    background: rgba(237, 93, 165, .08);
    bottom: -120px;
    right: -120px;
    animation-delay: -5s;
}

.orb-3 {
    width: 280px;
    height: 280px;
    background: rgba(159, 37, 131, .07);
    top: 42%;
    left: 42%;
    animation-delay: -10s;
}

@keyframes floatOrb {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(28px, 18px) scale(1.07);
    }
}

/* ─── Layout ────────────────────────────────────────────── */
.page-wrap {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .page-wrap {
        grid-template-columns: 1fr 1fr;
    }
}

/* ═══════════════════════════════════════════════════════════
   LEFT PANEL
   ═══════════════════════════════════════════════════════════ */
.panel-left {
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    padding: 48px 52px;
    background: linear-gradient(155deg, rgba(159, 37, 131, .10) 0%, rgba(10, 20, 37, .97) 100%);
    border-right: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .panel-left {
        display: flex;
    }
}

/* La price-card se vuelve sticky cuando llega al tope del viewport */
@media (min-width: 1024px) {
    .price-card-sticky-wrap {
        position: sticky;
        top: 24px;
    }
}

/* decorative rings */
.panel-left::before {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    border: 1px solid rgba(237, 93, 165, .06);
    box-shadow: 0 0 0 60px rgba(237, 93, 165, .03), 0 0 0 120px rgba(237, 93, 165, .02);
    pointer-events: none;
}

/* ── Logo ── */
.brand-logo {
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.brand-logo img {
    height: 44px;
}

/* ── Plan badge ── */
.plan-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(159, 37, 131, .18);
    border: 1px solid rgba(159, 37, 131, .35);
    border-radius: 100px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .3px;
    color: var(--sunone-b);
    margin-bottom: 24px;
    width: fit-content;
}

.plan-badge .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--sunone-b);
    animation: pulse 2.2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .4;
        transform: scale(.7);
    }
}

.panel-left h1 {
    font-size: clamp(26px, 2.6vw, 36px);
    font-weight: 700;
    line-height: 1.22;
    margin-bottom: 14px;
}

.panel-left h1 span {
    background: linear-gradient(130deg, var(--sunone-a), var(--sunone-b));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.panel-left>p {
    color: var(--text-soft);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 32px;
}

/* ── Price card ── */
.price-card {
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    margin-bottom: 28px;
    backdrop-filter: blur(8px);
    transition: border-color var(--transition);
}

.price-card:hover {
    border-color: rgba(237, 93, 165, .22);
}

.price-card .plan-name {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.price-card .plan-price {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.price-card .plan-price sup {
    font-size: 18px;
    vertical-align: super;
    font-weight: 600;
}

.price-card .plan-price .currency {
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted);
}

.price-card .plan-cycle {
    margin-top: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

/* precio con descuento */
.price-original {
    font-size: 18px;
    font-weight: 500;
    color: rgba(248, 113, 113, .7);
    text-decoration: line-through;
    margin-bottom: 2px;
}

.price-discounted {
    animation: priceHighlight .4s ease both;
}

@keyframes priceHighlight {
    0% {
        opacity: .3;
        transform: scale(.95);
    }

    60% {
        transform: scale(1.04);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.price-card .plan-divider {
    height: 1px;
    background: var(--border);
    margin: 18px 0;
}

.price-card .plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.price-card .plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: 13px;
    color: var(--text-soft);
    line-height: 1.45;
}

.price-card .plan-features li .check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(159, 37, 131, .18);
    border: 1px solid rgba(237, 93, 165, .25);
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
}

.price-card .plan-features li .check::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 2px;
    width: 5px;
    height: 9px;
    border-right: 1.8px solid var(--sunone-b);
    border-bottom: 1.8px solid var(--sunone-b);
    transform: rotate(45deg);
}

/* ── Trust badges ── */
.trust-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, .035);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 7px 12px;
    font-size: 11.5px;
    color: var(--text-soft);
    transition: all var(--transition);
}

.trust-badge:hover {
    border-color: rgba(237, 93, 165, .25);
    color: var(--text-white);
}

.trust-badge svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: rgba(237, 93, 165, .8);
}

/* ═══════════════════════════════════════════════════════════
   RIGHT PANEL
   ═══════════════════════════════════════════════════════════ */
.panel-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 36px 20px;
    min-height: 100vh;
}

@media (min-width: 640px) {
    .panel-right {
        padding: 44px 36px;
    }
}

@media (min-width: 1024px) {
    .panel-right {
        padding: 48px 52px;
    }
}

/* Mobile logo */
.mobile-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 28px;
}

.mobile-logo img {
    height: 40px;
}

@media (min-width: 1024px) {
    .mobile-logo {
        display: none;
    }
}

/* ─── Credit card preview ───────────────────────────────── */
.card-preview-wrap {
    perspective: 1000px;
    margin-bottom: 32px;
}

.card-preview {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    position: relative;
    height: 192px;
    transform-style: preserve-3d;
    transition: transform .65s cubic-bezier(.4, 0, .2, 1);
}

.card-preview.is-flipped {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .07);
}

.card-face-front {
    background: linear-gradient(135deg, #150826 0%, #3a0e5c 38%, #9F2583 72%, #ED5DA5 100%);
}

.card-face-back {
    background: linear-gradient(135deg, #ED5DA5 0%, #9F2583 38%, #3a0e5c 100%);
    transform: rotateY(180deg);
}

.card-face::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(108deg, transparent 32%, rgba(255, 255, 255, .07) 50%, transparent 70%);
    animation: shimmer 3.5s ease-in-out infinite;
}

@keyframes shimmer {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(200%);
    }
}

.card-inner {
    position: absolute;
    inset: 0;
    padding: 22px 26px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 1;
}

.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-chip {
    width: 36px;
    height: 27px;
    border-radius: 5px;
    background: linear-gradient(135deg, #c99830, #f0c040);
    border: 1px solid rgba(0, 0, 0, .12);
}

.card-network {
    display: flex;
    align-items: center;
}

.card-circle {
    width: 26px;
    height: 26px;
    border-radius: 50%;
}

.card-circle-1 {
    background: #eb001b;
}

.card-circle-2 {
    background: #f79e1b;
    margin-left: -11px;
    mix-blend-mode: multiply;
}

.card-number-display {
    font-size: 17px;
    letter-spacing: 3px;
    font-weight: 500;
    font-family: 'Courier New', monospace;
    color: rgba(255, 255, 255, .88);
    transition: all var(--transition);
}

.card-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-label {
    font-size: 8px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, .45);
    margin-bottom: 3px;
}

.card-value {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, .88);
    letter-spacing: .8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 160px;
}

/* back */
.card-stripe {
    height: 34px;
    background: rgba(0, 0, 0, .45);
    margin: 22px -26px;
}

.card-cvc-wrap {
    display: flex;
    justify-content: flex-end;
    padding: 0 2px;
}

.card-cvc-band {
    background: rgba(255, 255, 255, .88);
    border-radius: 4px;
    padding: 5px 12px;
    color: #0a1425;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    letter-spacing: 3px;
    min-width: 56px;
    text-align: center;
}

/* ─── Form ───────────────────────────────────────────────── */
.form-section-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 4px;
}

.form-section-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 22px;
}

.field-group {
    margin-bottom: 16px;
}

.field-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-muted);
    margin-bottom: 6px;
    transition: color var(--transition);
}

.field-label .label-extra {
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    font-size: 11px;
}

.field-wrap {
    position: relative;
}

.field-wrap .field-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, .2);
    font-size: 14px;
    pointer-events: none;
    transition: color var(--transition);
}

.field-input {
    width: 100%;
    background: var(--dark-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-white);
    font-family: inherit;
    font-size: 14px;
    height: 46px;
    padding: 0 13px 0 38px;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
    -webkit-appearance: none;
}

.field-input.no-icon {
    padding-left: 13px;
}

.field-input::placeholder {
    color: rgba(255, 255, 255, .18);
}

.field-input:focus {
    border-color: rgba(237, 93, 165, .35);
    box-shadow: 0 0 0 3px rgba(237, 93, 165, .10);
}

.field-input:focus+.field-icon,
.field-wrap:focus-within .field-icon {
    color: rgba(237, 93, 165, .6);
}

.field-input:disabled {
    opacity: .5;
    cursor: not-allowed;
}

/* 3-column row for expiry + cvc */
.field-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

@media (max-width: 480px) {
    .field-row-3 {
        grid-template-columns: 1fr 1fr;
    }

    .field-row-3 .field-group:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 340px) {
    .field-row-3 {
        grid-template-columns: 1fr;
    }

    .field-row-3 .field-group:last-child {
        grid-column: auto;
    }
}

.field-error {
    font-size: 11px;
    color: rgba(248, 113, 113, .85);
    margin-top: 5px;
    min-height: 14px;
}

/* ─── Coupon toggle ──────────────────────────────────────── */
.coupon-toggle-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    margin-bottom: 16px;
    transition: color var(--transition);
    text-decoration: none;
}

.coupon-toggle-link:hover {
    color: var(--sunone-b);
}

.coupon-toggle-link i {
    font-size: 12px;
    transition: transform var(--transition);
}

.coupon-toggle-link.open i {
    transform: rotate(45deg);
    color: var(--sunone-b);
}

.coupon-toggle-link.open {
    color: var(--sunone-b);
}

.coupon-section {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height .35s cubic-bezier(.4, 0, .2, 1), opacity .28s ease, margin .3s ease;
    margin-bottom: 0;
}

.coupon-section.open {
    max-height: 120px;
    opacity: 1;
    margin-bottom: 16px;
}

.coupon-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    margin-top: 6px;
    min-height: 16px;
}

.coupon-status.valid {
    color: #34d399;
}

.coupon-status.invalid {
    color: #f87171;
}

/* coupon input states */
.coupon-input-valid {
    border-color: rgba(52, 211, 153, .5) !important;
    box-shadow: 0 0 0 3px rgba(52, 211, 153, .10) !important;
}

.coupon-input-invalid {
    border-color: rgba(248, 113, 113, .55) !important;
    box-shadow: 0 0 0 3px rgba(248, 113, 113, .10) !important;
    animation: couponShake .4s cubic-bezier(.36, .07, .19, .97) both;
}

@keyframes couponShake {

    0%,
    100% {
        transform: translateX(0);
    }

    15% {
        transform: translateX(-6px);
    }

    30% {
        transform: translateX(6px);
    }

    45% {
        transform: translateX(-5px);
    }

    60% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-3px);
    }

    90% {
        transform: translateX(3px);
    }
}

/* loader inside coupon field */
.coupon-loader {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .12);
    border-top-color: var(--sunone-b);
    animation: spin .6s linear infinite;
}

.coupon-loader.show {
    display: block;
}

/* check icon inside coupon field */
.coupon-check-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    pointer-events: none;
}

.coupon-check-icon::after {
    content: '';
    display: block;
    width: 7px;
    height: 11px;
    border-right: 2px solid #34d399;
    border-bottom: 2px solid #34d399;
    transform: rotate(45deg) scale(0);
    transition: transform .22s cubic-bezier(.34, 1.56, .64, 1);
}

.coupon-check-icon.show {
    display: block;
}

.coupon-check-icon.show::after {
    transform: rotate(45deg) scale(1);
}

/* ─── Recurring checkbox ─────────────────────────────────── */
.recurring-wrap {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    background: rgba(159, 37, 131, .06);
    border: 1px solid rgba(159, 37, 131, .15);
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: border-color var(--transition), background var(--transition);
}

.recurring-wrap:hover {
    border-color: rgba(237, 93, 165, .25);
    background: rgba(159, 37, 131, .09);
}

.custom-check {
    flex-shrink: 0;
    margin-top: 1px;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1.5px solid rgba(255, 255, 255, .22);
    background: transparent;
    position: relative;
    transition: border-color var(--transition), background var(--transition);
}

.custom-check::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 1px;
    width: 6px;
    height: 10px;
    border-right: 2px solid var(--sunone-b);
    border-bottom: 2px solid var(--sunone-b);
    transform: rotate(45deg) scale(0);
    opacity: 0;
    transition: transform .2s cubic-bezier(.34, 1.56, .64, 1), opacity .15s ease;
}

.custom-check.checked {
    border-color: var(--sunone-b);
    background: rgba(237, 93, 165, .10);
}

.custom-check.checked::after {
    transform: rotate(45deg) scale(1);
    opacity: 1;
}

.recurring-label {
    font-size: 12.5px;
    color: var(--text-soft);
    line-height: 1.5;
    user-select: none;
}

.recurring-label strong {
    color: var(--text-white);
    display: block;
    font-size: 13px;
    margin-bottom: 2px;
}

/* ─── Alerts ─────────────────────────────────────────────── */
.alert {
    display: none;
    border-radius: var(--radius-sm);
    padding: 12px 14px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 14px;
    border: 1px solid;
}

.alert.show {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.alert-danger {
    background: rgba(248, 113, 113, .07);
    border-color: rgba(248, 113, 113, .22);
    color: #fca5a5;
}

.alert-success {
    background: rgba(52, 211, 153, .07);
    border-color: rgba(52, 211, 153, .22);
    color: #6ee7b7;
}

.alert i {
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* ─── Submit button ──────────────────────────────────────── */
.btn-submit {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 52px;
    background: linear-gradient(135deg, var(--sunone-a) 0%, var(--sunone-b) 100%);
    border: none;
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .4px;
    cursor: pointer;
    transition: opacity var(--transition), transform var(--transition);
    margin-top: 6px;
}

.btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0);
    transition: background var(--transition);
}

.btn-submit:hover::before {
    background: rgba(255, 255, 255, .07);
}

.btn-submit:active {
    transform: scale(.985);
}

.btn-submit:disabled {
    opacity: .55;
    cursor: not-allowed;
}

/* shine */
.btn-submit::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .12), transparent);
    animation: btnShine 3s ease-in-out infinite;
}

.btn-submit:disabled::after {
    animation: none;
}

@keyframes btnShine {

    0%,
    100% {
        left: -100%;
    }

    50% {
        left: 140%;
    }
}

/* ripple */
.btn-submit .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .28);
    transform: scale(0);
    animation: rippleAnim .55s linear;
    pointer-events: none;
}

@keyframes rippleAnim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.btn-submit .btn-label,
.btn-submit .btn-processing {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
}

.btn-submit .btn-processing {
    display: none;
}

.btn-submit.processing .btn-label {
    display: none;
}

.btn-submit.processing .btn-processing {
    display: flex;
}

.spinner {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .28);
    border-top-color: #fff;
    animation: spin .65s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ─── Security strip ─────────────────────────────────────── */
.security-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: rgba(255, 255, 255, .3);
}

.security-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    color: rgba(237, 93, 165, .6);
}

/* ─── Separator ──────────────────────────────────────────── */
.sep {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 2px 0 16px;
}

.sep span {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
}

.sep::before,
.sep::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ─── Success screen ─────────────────────────────────────── */
.success-screen {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 16px;
}

.success-screen.show {
    display: flex;
}

.success-icon-wrap {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--sunone-a), var(--sunone-b));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    animation: successPop .5s cubic-bezier(.36, .07, .19, .97) both;
    box-shadow: 0 0 40px rgba(237, 93, 165, .4);
    position: relative;
}

/* Palomita CSS dentro del círculo */
.success-icon-wrap::after {
    content: '';
    width: 18px;
    height: 32px;
    border-right: 4px solid #fff;
    border-bottom: 4px solid #fff;
    border-radius: 2px;
    transform: rotate(45deg) translate(-3px, -4px);
    animation: drawCheck .35s .45s cubic-bezier(.4, 0, .2, 1) both;
}

@keyframes drawCheck {
    from {
        opacity: 0;
        transform: rotate(45deg) translate(-3px, -4px) scale(.5);
    }

    to {
        opacity: 1;
        transform: rotate(45deg) translate(-3px, -4px) scale(1);
    }
}

@keyframes successPop {
    0% {
        transform: scale(0) rotate(-10deg);
    }

    70% {
        transform: scale(1.1) rotate(3deg);
    }

    100% {
        transform: scale(1) rotate(0);
    }
}

.success-screen h2 {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
}

.success-screen p {
    font-size: 14px;
    color: var(--text-soft);
    margin-bottom: 28px;
    max-width: 320px;
}

.btn-continue {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--sunone-a), var(--sunone-b));
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 13px 28px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(159, 37, 131, .35);
}

.btn-continue svg {
    width: 15px;
    height: 15px;
    transition: transform var(--transition);
}

.btn-continue:hover svg {
    transform: translateX(3px);
}

/* Confetti canvas */
#confetti-canvas {
    position: fixed;
    inset: 0;
    z-index: 9999;
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s;
}

#confetti-canvas.show {
    opacity: 1;
}

/* ─── Form container ─────────────────────────────────────── */
.payment-form-wrap {
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
}

/* ─── Tooltip ────────────────────────────────────────────── */
.tooltip-wrap {
    position: relative;
    display: inline-flex;
}

.tooltip-wrap .tip {
    position: absolute;
    bottom: calc(100% + 7px);
    right: 0;
    background: rgba(15, 26, 46, .95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 7px 11px;
    font-size: 11.5px;
    color: var(--text-white);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: all .14s ease;
    z-index: 10;
}

.tooltip-wrap:hover .tip {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Back button ───────────────────────────────────────── */
.btn-back {
    position: fixed;
    top: 18px;
    right: 20px;
    z-index: 100;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 9px 16px 9px 12px;
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-soft);
    cursor: pointer;
    text-decoration: none;
    backdrop-filter: blur(10px);
    transition: all var(--transition);
}

.btn-back:hover {
    background: rgba(255, 255, 255, .10);
    border-color: rgba(237, 93, 165, .25);
    color: var(--text-white);
    transform: translateX(-2px);
}

.btn-back svg {
    width: 15px;
    height: 15px;
    transition: transform var(--transition);
    flex-shrink: 0;
}

.btn-back:hover svg {
    transform: translateX(-3px);
}

/* ─── Scroll-in animation ────────────────────────────────── */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: slideUp .45s cubic-bezier(.4, 0, .2, 1) both;
}

.animate-in:nth-child(2) {
    animation-delay: .07s;
}

.animate-in:nth-child(3) {
    animation-delay: .13s;
}

.animate-in:nth-child(4) {
    animation-delay: .19s;
}

.animate-in:nth-child(5) {
    animation-delay: .25s;
}

.animate-in:nth-child(6) {
    animation-delay: .31s;
}

.animate-in:nth-child(7) {
    animation-delay: .37s;
}

.animate-in:nth-child(8) {
    animation-delay: .43s;
}
