/* ============================================
   TRIMMLY - CSS UNIFICADO
   Páginas: Cadastro e Sucesso
   ============================================ */

/* ============================================
   VARIÁVEIS E RESET
   ============================================ */
:root {
    --primary-color: #7323a9;
    --secondary-color: #fd18f0;
    --dark-color: #1a1a1a;
    --light-color: #f8f9fa;
    --gray-color: #6c757d;
    --success-color: #25D366;
    --error-color: #ef4444;
    --valid-color: #22c55e;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    min-height: 100vh;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
}

.logo-navbar {
    width: 40px;
}

/* ============================================
   BOTÕES GLOBAIS
   ============================================ */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(115, 35, 169, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(115, 35, 169, 0.4);
    background: linear-gradient(135deg, #8a3bc4, var(--secondary-color));
}

/* ============================================
   PAGE HEADER (Cadastro)
   ============================================ */
.page-header {
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(115, 35, 169, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(253, 24, 240, 0.06) 0%, transparent 70%);
    border-radius: 50%;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* ============================================
   PROGRESS STEPS (Cadastro)
   ============================================ */
.progress-steps {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 40px 0;
    position: relative;
    z-index: 2;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    flex: 1;
    max-width: 200px;
}

.step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20px;
    left: 60%;
    width: 80%;
    height: 3px;
    background: #e0e0e0;
    z-index: -1;
}

.step.active:not(:last-child)::after,
.step.completed:not(:last-child)::after {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #e0e0e0;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.step.active .step-number {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(115, 35, 169, 0.4);
}

.step.completed .step-number {
    background: var(--primary-color);
    color: white;
}

.step-label {
    font-size: 0.85rem;
    color: #999;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
}

.step.active .step-label,
.step.completed .step-label {
    color: var(--primary-color);
    font-weight: 600;
}

/* ============================================
   FORM CONTAINER E CARD (Cadastro)
   ============================================ */
.form-container {
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.form-card {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(115, 35, 169, 0.1);
    position: relative;
    overflow: hidden;
}

.form-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

/* ============================================
   SECTION TITLE (Cadastro)
   ============================================ */
.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(115, 35, 169, 0.1);
}

.section-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(115, 35, 169, 0.1), rgba(253, 24, 240, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.section-title h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    margin: 0;
}

.section-title p {
    font-size: 0.9rem;
    color: var(--gray-color);
    margin: 0;
}

/* ============================================
   FORM ELEMENTS (Cadastro)
   ============================================ */
.form-label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-label .required {
    color: var(--secondary-color);
    margin-left: 2px;
}

.form-control,
.form-select {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 14px 16px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fafafa;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(115, 35, 169, 0.1);
    background: white;
}

.form-control::placeholder {
    color: #aaa;
}

.input-group-text {
    background: linear-gradient(135deg, rgba(115, 35, 169, 0.05), rgba(253, 24, 240, 0.05));
    border: 2px solid #e0e0e0;
    border-right: none;
    border-radius: 12px 0 0 12px;
    color: var(--primary-color);
}

.input-group .form-control {
    border-left: none;
    border-radius: 0 12px 12px 0;
}

.input-group:focus-within .input-group-text {
    border-color: var(--primary-color);
}

.form-text {
    font-size: 0.85rem;
    color: var(--gray-color);
    margin-top: 6px;
}

.password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--gray-color);
    cursor: pointer;
    padding: 5px;
    z-index: 5;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.password-wrapper {
    position: relative;
}

.password-wrapper .form-control {
    padding-right: 50px;
}

/* ============================================
   PLAN SELECTION (Cadastro)
   ============================================ */
.plan-selection {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.plan-option {
    position: relative;
    cursor: pointer;
}

.plan-option input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.plan-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    padding: 30px 24px;
    transition: all 0.3s ease;
    height: 100%;
}

.plan-option input:checked+.plan-card {
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(115, 35, 169, 0.15);
}

.plan-option:hover .plan-card {
    border-color: rgba(115, 35, 169, 0.5);
    transform: translateY(-3px);
}

.plan-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(115, 35, 169, 0.3);
}

.plan-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.plan-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

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

.plan-price .currency {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.plan-price .amount {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

.plan-price .period {
    font-size: 1rem;
    color: var(--gray-color);
}

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

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.95rem;
    color: #555;
}

.plan-features li i {
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.plan-features li.highlight {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.08), rgba(25, 177, 84, 0.08));
    margin: 5px -16px;
    padding: 12px 16px;
    border-radius: 10px;
}

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

.plan-check {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.plan-option input:checked+.plan-card .plan-check {
    opacity: 1;
    transform: scale(1);
}

/* ============================================
   FORM NAVIGATION (Cadastro)
   ============================================ */
.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid rgba(115, 35, 169, 0.1);
}

.btn-back {
    background: transparent;
    border: 2px solid #e0e0e0;
    color: var(--gray-color);
    padding: 14px 28px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-back:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(115, 35, 169, 0.05);
}

.btn-next {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    padding: 14px 32px;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(115, 35, 169, 0.3);
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-next:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(115, 35, 169, 0.4);
    color: white;
}

.btn-submit {
    background: linear-gradient(135deg, var(--success-color), #22c55e);
    border: none;
    color: white;
    padding: 16px 40px;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    color: white;
}

/* ============================================
   FORM STEP E ANIMAÇÕES (Cadastro)
   ============================================ */
.form-step {
    display: none;
    animation: fadeIn 0.5s ease;
}

.form-step.active {
    display: block;
}

/* ============================================
   LOADING STATE (Cadastro)
   ============================================ */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(115, 35, 169, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
}

/* ============================================
   VALIDATION STATES (Cadastro)
   ============================================ */
.form-control.is-valid {
    border-color: var(--valid-color);
    background-image: none;
}

.form-control.is-invalid {
    border-color: var(--error-color);
    background-image: none;
}

.invalid-feedback {
    color: var(--error-color);
    font-size: 0.85rem;
    margin-top: 6px;
}

/* ============================================
   SUCCESS SECTION (Sucesso)
   ============================================ */
.success-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f0e6f6 100%);
    position: relative;
    overflow: hidden;
    padding: 60px 20px;
}

.success-section::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(115, 35, 169, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.success-section::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(253, 24, 240, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

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

    50% {
        transform: translate(30px, -30px) scale(1.05);
    }
}

.success-container {
    position: relative;
    z-index: 2;
    max-width: 700px;
    width: 100%;
}

.success-card {
    background: white;
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 20px 60px rgba(115, 35, 169, 0.12);
    text-align: center;
    border: 1px solid rgba(115, 35, 169, 0.1);
    animation: slideUp 0.6s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

/* ============================================
   SUCCESS ICON ANIMATION (Sucesso)
   ============================================ */
.success-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    position: relative;
}

.success-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s ease-out 0.2s both;
    box-shadow: 0 10px 40px rgba(115, 35, 169, 0.3);
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.success-circle i {
    font-size: 60px;
    color: white;
    animation: checkIn 0.4s ease-out 0.6s both;
}

@keyframes checkIn {
    from {
        opacity: 0;
        transform: scale(0) rotate(-45deg);
    }

    to {
        opacity: 1;
        transform: scale(1) rotate(0);
    }
}

@keyframes ripple {
    from {
        width: 120px;
        height: 120px;
        opacity: 1;
    }

    to {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

/* ============================================
   CONFETTI (Sucesso)
   ============================================ */
.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    top: 0;
    animation: confettiFall 3s ease-out forwards;
}

@keyframes confettiFall {
    0% {
        transform: translateY(-100px) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(400px) rotate(720deg);
        opacity: 0;
    }
}

/* ============================================
   SUCCESS CONTENT (Sucesso)
   ============================================ */
.success-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 15px;
    animation: fadeIn 0.6s ease-out 0.8s both;
}

.success-subtitle {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-bottom: 35px;
    animation: fadeIn 0.6s ease-out 1s both;
}

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

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

/* ============================================
   INFO BOX (Sucesso)
   ============================================ */
.info-box {
    background: linear-gradient(135deg, rgba(115, 35, 169, 0.05), rgba(253, 24, 240, 0.05));
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: left;
    animation: fadeIn 0.6s ease-out 1.2s both;
    border: 1px solid rgba(115, 35, 169, 0.1);
}

.info-box h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-box h4 i {
    font-size: 1.3rem;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 10px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #555;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(115, 35, 169, 0.08);
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li i {
    color: var(--success-color);
    font-size: 1.1rem;
    margin-top: 2px;
    flex-shrink: 0;
}

/* ============================================
   BTN PANEL (Sucesso)
   ============================================ */
.btn-panel {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    padding: 16px 40px;
    font-weight: 600;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(115, 35, 169, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    animation: fadeIn 0.6s ease-out 1.4s both;
}

.btn-panel:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(115, 35, 169, 0.45);
    color: white;
}

.btn-panel i {
    font-size: 1.3rem;
    transition: transform 0.3s ease;
}

.btn-panel:hover i {
    transform: translateX(5px);
}

/* ============================================
   SUPPORT TEXT (Sucesso)
   ============================================ */
.support-text {
    margin-top: 25px;
    font-size: 0.9rem;
    color: var(--gray-color);
    animation: fadeIn 0.6s ease-out 1.6s both;
}

.support-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.support-text a:hover {
    color: var(--secondary-color);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: white;
    padding: 2rem 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--primary-color));
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer p {
    margin: 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE - CADASTRO
   ============================================ */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 1.8rem;
    }

    .progress-steps {
        gap: 0;
    }

    .step {
        max-width: none;
    }

    .step:not(:last-child)::after {
        width: 60%;
        left: 70%;
    }

    .step-number {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }

    .step-label {
        font-size: 0.75rem;
    }

    .form-card {
        padding: 24px 20px;
        border-radius: 20px;
    }

    .section-title {
        flex-direction: column;
        text-align: center;
    }

    .plan-selection {
        grid-template-columns: 1fr;
    }

    .plan-badge {
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }

    .form-navigation {
        flex-direction: column;
    }

    .btn-back,
    .btn-next,
    .btn-submit {
        width: 100%;
        justify-content: center;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 10px;
    }
}

/* ============================================
   RESPONSIVE - SUCESSO
   ============================================ */
@media (max-width: 768px) {
    .success-card {
        padding: 40px 25px;
    }

    .success-title {
        font-size: 1.8rem;
    }

    .success-subtitle {
        font-size: 1rem;
    }

    .success-icon-wrapper {
        width: 100px;
        height: 100px;
    }

    .success-circle {
        width: 100px;
        height: 100px;
    }

    .success-circle i {
        font-size: 50px;
    }

    .btn-panel {
        width: 100%;
        justify-content: center;
        padding: 14px 30px;
    }

    .info-box {
        padding: 20px;
    }

    .footer {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .success-section {
        padding: 40px 15px;
    }

    .success-card {
        padding: 30px 20px;
    }

    .success-title {
        font-size: 1.5rem;
    }

    .info-list li {
        font-size: 0.9rem;
    }
}

/* ============================================
   RESPONSIVE - RIPPLE ANIMATION (Sucesso)
   ============================================ */
@media (max-width: 768px) {
    @keyframes ripple {
        from {
            width: 100px;
            height: 100px;
            opacity: 1;
        }

        to {
            width: 160px;
            height: 160px;
            opacity: 0;
        }
    }
}

/* Period Toggle */
.period-toggle {
    display: inline-flex;
    position: relative;
    background: white;
    border-radius: 50px;
    padding: 6px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid #e9ecef;
}

.period-btn {
    position: relative;
    z-index: 2;
    border: none;
    background: none;
    padding: 12px 32px;
    font-size: 1rem;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    border-radius: 50px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.period-btn.active {
    color: white;
}

.period-slider {
    position: absolute;
    top: 6px;
    height: calc(100% - 12px);
    background: linear-gradient(135deg, #7323a9, #fd18f0);
    border-radius: 50px;
    transition: left 0.4s cubic-bezier(0.65, 0, 0.35, 1), width 0.4s cubic-bezier(0.65, 0, 0.35, 1);
    z-index: 1;
}

.period-badge-save {
    background: rgba(253, 24, 240, 0.15);
    color: #fd18f0;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.period-btn.active .period-badge-save {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

.amount {
    font-size: 72px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    transition: opacity 0.3s ease;
}

/* Price animation */
.price-updating .amount {
    opacity: 0;
    transform: translateY(-10px);
}

.price-tag .amount {
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform: translateY(0);
}


@media (max-width: 991px) {
    .pricing-card-popular {
        transform: scale(1);
    }

    .pricing-card-popular:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .period-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .period-badge-save {
        font-size: 0.6rem;
    }
}