/* =============================================
   Cadastro Page Styles
   ============================================= */

.cadastro-page {
    min-height: 100vh;
    position: relative;
}

.cadastro-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a1a3e 0%, #2d1b4e 50%, #1a2a5e 100%);
    z-index: -1;
}

.cadastro-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="80" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="70" r="0.8" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 200px 200px;
}

.cadastro-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.cadastro-card {
    background: var(--color-white);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* Plan Summary Side */
.plan-summary {
    background: linear-gradient(135deg, var(--color-dark-blue) 0%, #2d1b4e 100%);
    padding: 40px 30px;
    color: var(--color-white);
    display: flex;
    flex-direction: column;
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
}

.plan-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--color-pink), var(--color-magenta));
    color: var(--color-white);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.plan-badge.badge-free {
    background: rgba(255, 255, 255, 0.2);
}

.plan-badge.badge-pro {
    background: linear-gradient(135deg, var(--color-blue), var(--color-cyan));
}

.plan-summary h3 {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 2px;
}

.plan-price .currency {
    font-size: 1rem;
    opacity: 0.7;
}

.plan-price .amount {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.plan-price .decimal {
    font-size: 1.2rem;
    font-weight: 600;
}

.plan-price .period {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-left: 5px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
}

.plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li i {
    color: var(--color-cyan);
}

.plan-footer {
    margin-top: 20px;
    text-align: center;
}

.change-plan {
    color: var(--color-cyan);
    font-size: 0.9rem;
}

.change-plan:hover {
    color: var(--color-light-cyan);
}

/* Form Side */
.form-side {
    padding: 40px;
}

/* Steps Progress */
.steps-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-number {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: var(--color-light);
    color: var(--color-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.step.active .step-number,
.step.completed .step-number {
    background: var(--gradient-main);
    color: var(--color-white);
}

.step.completed .step-number::after {
    content: '✓';
}

.step-label {
    font-size: 0.75rem;
    color: var(--color-gray);
    font-weight: 500;
}

.step.active .step-label {
    color: var(--color-dark-blue);
}

.step-line {
    width: 60px;
    height: 2px;
    background: var(--color-light);
    margin: 0 15px;
}

/* Form Steps */
.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.form-step h4 {
    font-size: 1.4rem;
    margin-bottom: 5px;
}

/* Form Controls */
.form-control {
    border: 2px solid var(--color-light);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--color-cyan);
    box-shadow: 0 0 0 3px rgba(0, 204, 214, 0.15);
}

.form-label {
    font-weight: 600;
    color: var(--color-dark-blue);
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.input-group .form-control {
    border-right: none;
}

.input-group .btn {
    border: 2px solid var(--color-light);
    border-left: none;
    border-radius: 0 12px 12px 0;
}

/* Divider */
.divider-or {
    display: flex;
    align-items: center;
    margin: 25px 0;
    color: var(--color-gray);
}

.divider-or::before,
.divider-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-light);
}

.divider-or span {
    padding: 0 15px;
    font-size: 0.85rem;
}

/* Google Button */
.btn-google {
    background: var(--color-white);
    border: 2px solid var(--color-light);
    color: var(--color-dark);
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
}

.btn-google:hover {
    border-color: var(--color-cyan);
    background: var(--color-light);
}

/* Payment Tabs */
.payment-tabs {
    display: flex;
    gap: 10px;
}

.payment-tab {
    flex: 1;
    padding: 12px 20px;
    border: 2px solid var(--color-light);
    border-radius: 12px;
    background: var(--color-white);
    color: var(--color-gray);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.payment-tab:hover {
    border-color: var(--color-cyan);
}

.payment-tab.active {
    background: linear-gradient(135deg, rgba(0, 204, 214, 0.1), rgba(153, 51, 204, 0.1));
    border-color: var(--color-cyan);
    color: var(--color-dark-blue);
}

/* Payment Forms */
.payment-form {
    display: none;
}

.payment-form.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* PIX Info */
.pix-info .pix-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(0, 204, 214, 0.1), rgba(153, 51, 204, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    color: var(--color-cyan);
}

/* Free Confirm */
.free-confirm .success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-light-cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 2rem;
    color: var(--color-white);
}

/* Success Step */
.success-animation {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--color-cyan), var(--color-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 3rem;
    color: var(--color-white);
    animation: successPulse 2s ease-in-out infinite;
}

@keyframes successPulse {

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

    50% {
        transform: scale(1.05);
    }
}

/* Security Badges */
.security-badges {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.security-badges span {
    margin: 0 15px;
}

.security-badges i {
    margin-right: 5px;
}

/* Link Primary */
.link-primary {
    color: var(--color-cyan) !important;
    font-weight: 600;
}

.link-primary:hover {
    color: var(--color-purple) !important;
}

/* Responsive */
@media (max-width: 991px) {
    .plan-summary {
        border-radius: 25px 25px 0 0;
        padding: 30px 25px;
    }

    .form-side {
        padding: 30px 25px;
    }

    .steps-progress {
        margin-bottom: 30px;
    }

    .step-line {
        width: 40px;
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .cadastro-wrapper {
        padding: 0 15px;
    }

    .plan-summary,
    .form-side {
        padding: 25px 20px;
    }

    .plan-price .amount {
        font-size: 2.5rem;
    }

    .step-label {
        display: none;
    }

    .step-line {
        width: 30px;
    }

    .payment-tabs {
        flex-direction: column;
    }
}