/* Modern Page Layout */
.container {
    max-width: 1400px;
    margin: 0 auto;
}

.pro-plans .back-button {
    max-width: fit-content;
    position: sticky;
    top: 16px;
    margin: 16px 0;
    background: white;
    color: #42249D;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 99;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #42249D;
}

.back-button:hover {
    background: #42249D;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    text-decoration: none;
}

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

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

.help-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    background: #4e73df;
    color: #fff;
    padding: 12px 20px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 99;
    text-decoration: none;
}

.help-btn:hover {
    background: #2e59d9;
    color: #fff;
}

/* Current Plan Card */
.current-plan-card {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background: #42249D;
    border-radius: 20px;
    padding: 35px;
    color: white;
    margin-bottom: 50px;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.4);
    animation: slideInLeft 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.current-plan-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

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

.current-plan-content {
    position: relative;
    z-index: 1;
}

.current-plan-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    backdrop-filter: blur(10px);
}

.current-plan-name {
    font-size: 42px;
    font-weight: 800;
    margin: 10px 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Usage Stats */
.usage-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.usage-stat {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.usage-stat:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
}

.usage-stat h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    opacity: 0.9;
}

.usage-bar {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    height: 12px;
    overflow: hidden;
    margin: 10px 0;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.usage-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981 0%, #3b82f6 100%);
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
    animation: fillBar 1.5s ease-out;
}

@keyframes fillBar {
    from {
        width: 0 !important;
    }
}

.usage-fill.warning {
    background: linear-gradient(90deg, #f59e0b 0%, #ef4444 100%);
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.usage-fill.danger {
    background: linear-gradient(90deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
}

.usage-text {
    font-size: 13px;
    margin-top: 8px;
    opacity: 0.95;
}

/* Pricing Cards */
.pricing-section {
    padding: 0px 0 50px;
    animation: fadeIn 1s ease-out;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    padding-bottom: 16px;
    margin: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding-top: 20px;
}

.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    border: 2px solid #e5e7eb;
    animation: cardAppear 0.6s ease-out backwards;
    display: flex;
    flex-direction: column;
    margin-top: 25px;
}

.pricing-card:nth-child(1) {
    animation-delay: 0.1s;
}

.pricing-card:nth-child(2) {
    animation-delay: 0.2s;
}

.pricing-card:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

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



.pricing-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.25);
    border-color: #667eea;
}

.pricing-card.current-plan {
    border-color: #667eea;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.15);
}

.pricing-card.recommended {
    border-color: #10b981;
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.2);
    transform: scale(1.05);
}

.pricing-card.recommended:hover {
    transform: translateY(-15px) scale(1.07);
}

.pricing-card .plan-name {
    font-size: 25px;
    font-weight: 700;
    color: #1f2937;
}

.recommended-badge {
    position: absolute;
    top: -12px;
    right: 30px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
    animation: pulse 2s ease-in-out infinite;
    z-index: 10;
}

@keyframes pulse {

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

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

.plan-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

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

    50% {
        transform: translateY(-10px);
    }
}


.plan-price {
    font-size: 45px;
    font-weight: 900;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 16px 0 5px;
    line-height: 1;
}

.plan-price .currency {
    font-size: 32px;
    vertical-align: super;
}

.plan-price .period {
    font-size: 18px;
    color: #6c757d;
    font-weight: 600;
}

.save-badge {
    display: inline-block;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.pro-plans .plan-features {
    list-style: none;
    padding: 0;
    padding: 16px 0 20px;
    text-align: left;
    flex-grow: 1;
}

.pro-plans .plan-features li {
    padding: 11px 0;
    font-size: 15px;
    color: #4b5563;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.3s ease;
}

.pro-plans .plan-features li:hover {
    padding-left: 10px;
    color: #667eea;
}

.pro-plans .plan-features li:before {
    content: "✓";
    color: #10b981;
    font-weight: bold;
    font-size: 18px;
    margin-right: 15px;
    width: 24px;
    height: 24px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.btn-subscribe {
    width: 100%;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.btn-subscribe::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn-subscribe:hover::before {
    width: 300px;
    height: 300px;
}

.subscribe-btn {
    border: 1px solid #007bff;
}

.btn-subscribe.btn-primary {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background-color: #42249D;
    color: white;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.4);
}

.btn-subscribe.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(102, 126, 234, 0.5);
}

.btn-subscribe.btn-secondary {
    background: #e5e7eb;
    color: #6b7280;
}

.btn-subscribe.btn-outline-secondary {
    background: white;
    border: 2px solid #e5e7eb;
    color: #6b7280;
}

.btn-subscribe.btn-outline-secondary:hover {
    background: #f9fafb;
    border-color: #667eea;
    color: #667eea;
}

/* Payment Form */
.pro-plans .payment-form-container {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 16px;
    padding: 35px;
    margin-top: 35px;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Toggle Switch Styles */
.pricing-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding: 16px 0 30px;
    position: relative;
}

.toggle-container {
    position: relative;
    width: 320px;
    height: 60px;
    background: #e5e7eb;
    border-radius: 30px;
    padding: 6px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.toggle-slider {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 148px;
    height: 48px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}

.toggle-slider.annual {
    transform: translateX(155px);
    width: 148px;
}

.toggle-option {
    flex: 1;
    height: 48px;
    border: none;
    background: transparent;
    color: #6b7280;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    position: relative;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-option.active {
    color: white;
}

.annual-button {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    max-width: 148px;
    overflow: hidden;
}

.save-badge-container {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -110px;
    z-index: 3;
}

.annual-text {
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.save-tag {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    white-space: nowrap;
    flex-shrink: 0;
    position: relative;
}

.save-tag::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #2563eb;
}



/* Pricing Options */
.pricing-option {
    transition: all 0.3s ease;
}

.monthly-pricing {
    display: block;
}

.annual-pricing {
    display: none;
}

.savings-badge {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    animation: gentle-bounce 2s infinite;
}

.billing-note {
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}

.annual-total {
    font-size: 16px;
    color: #374151;
    margin-top: 8px;
    font-weight: 600;
}

@keyframes gentle-bounce {

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

    50% {
        transform: translateY(-2px);
    }
}

/* Billing Cycle Selection Page */
.billing-content {
    margin: 20px auto;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}

/* Left Side - Plan Details */
.plan-details-section {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background-color: #42249D;
    color: white;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.plan-details-section .plan-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin: 20px 0;
    width: fit-content;
}

.plan-details-section .plan-name {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
}

.plan-details-section .plan-description {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

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

.plan-details-section .plan-features li {
    padding: 12px 0;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.plan-details-section .plan-features li i {
    margin-right: 15px;
    font-size: 20px;
    color: #4ade80;
}

/* Right Side - Billing Cycle Selection */
.billing-cycle-section {
    padding: 50px;
    display: flex;
    gap: 16px;
    flex-direction: column;
}

.billing-cycle-section .section-title {
    font-size: 32px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.billing-cycle-section .section-subtitle {
    font-size: 16px;
    margin: 0;
    text-align: center;
    color: #64748b;
}

/* Billing Cycle Toggle */
.billing-toggle-container {
    background: #f8fafc;
    border-radius: 15px;
}

.billing-toggle-container .billing-options {
    display: grid;
    grid-template-columns: repeat(2, auto);
    gap: 20px;
}

.billing-toggle-container .billing-option {
    position: relative;
    cursor: pointer;
}

.billing-toggle-container .billing-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.billing-toggle-container .billing-option-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 15px;
    border: 3px solid #e2e8f0;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    position: relative;
}

.billing-toggle-container .billing-option input[type="radio"]:checked+.billing-option-label {
    border-color: #667eea;
    background: linear-gradient(135deg, #f8f9ff 0%, #eef2ff 100%);
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.25);
    transform: translateY(-3px);
}

.billing-toggle-container .billing-option-label:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(102, 126, 234, 0.15);
}

.billing-toggle-container .billing-period {
    font-size: 15px;
    font-weight: 700;
    color: #4a5568;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.billing-toggle-container .billing-price {
    font-size: 30px;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 8px;
    line-height: 1;
}

.billing-toggle-container .billing-savings {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(74, 222, 128, 0.4);
    letter-spacing: 0.3px;
}

.cycle-benefits {
    background: #fff7ed;
    border-left: 4px solid #fb923c;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.cycle-benefits-title {
    font-size: 14px;
    font-weight: 600;
    color: #ea580c;
    margin-bottom: 8px;
}

.cycle-benefits ul {
    margin: 0;
    padding-left: 20px;
    font-size: 13px;
    color: #78350f;
}

/* Payment Form */
.payment-form-container {
    flex: 1;
}

.payment-form-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e2e8f0;
}

.form-group {
    margin-bottom: 12px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-control::placeholder {
    color: #9ca3af;
}

.card-element-container {
    padding: 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    min-height: 50px;
}

.card-element-container.focused {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.submit-button {
    width: 100%;
    padding: 16px;
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    background-color: #42249D;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-button:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.plan-details-section .back-link {
    display: inline-flex;
    align-items: center;
    color: white;
    border: 1px solid white;
    max-width: fit-content;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.plan-details-section .back-link:hover {
    opacity: 0.8;
    transform: scale(1.03);
    background-color: #ffffff33;
    border-color: #ffffff33;
}

.plan-details-section .back-link i {
    margin-right: 8px;
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.loading-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    margin-right: 10px;
}

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

/* Card Type Icons */
.card-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.card-icon {
    width: 50px;
    height: 32px;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e5e7eb;
    opacity: 0.4;
    transition: all 0.3s ease;
}

.card-icon.active {
    opacity: 1;
    border-color: #667eea;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.2);
    transform: scale(1.05);
}

.card-icon img {
    max-width: 80%;
    max-height: 80%;
}

/* Card Input with Icon */
.input-with-icon {
    position: relative;
}

.input-with-icon input {
    padding-right: 60px;
}

.card-type-badge {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 4px;
    border: 1px solid #e5e7eb;
}

.card-type-badge img {
    max-width: 90%;
    max-height: 90%;
}

.card-inputs-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
}

/* Responsive */
@media (max-width: 968px) {
    .billing-content {
        grid-template-columns: 1fr;
        border-radius: 12px;
    }

    .plan-details-section {
        padding: 40px 30px;
    }

    .plan-name {
        font-size: 36px;
    }
}

@media (max-width: 640px) {
    .billing-options {
        grid-template-columns: 1fr;
    }

    .billing-cycle-section {
        padding: 30px 20px;
    }


}

@media (max-width: 440px) {
    .billing-toggle-container .billing-options {
        grid-template-columns: 1fr;
    }
}

/* Success Modal */
.success-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    animation: fadeIn 0.3s ease;
}

.success-modal-overlay.active {
    display: flex;
}

.success-modal {
    background: white;
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    animation: scaleIn 0.5s ease 0.2s both;
}

.success-icon i {
    font-size: 40px;
    color: white;
}

.success-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 15px;
}

.success-message {
    font-size: 16px;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 25px;
}

.success-details {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin: 25px 0;
    text-align: left;
}

.success-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e5e7eb;
}

.success-detail-row:last-child {
    border-bottom: none;
}

.success-detail-label {
    color: #6b7280;
    font-size: 14px;
}

.success-detail-value {
    color: #1f2937;
    font-weight: 600;
    font-size: 14px;
}

.success-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.success-button:hover {
    transform: translateY(-2px);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

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

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

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

    to {
        transform: scale(1);
    }
}






/* Responsive */
@media (max-width: 768px) {
    .current-plan-name {
        font-size: 32px;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .pricing-card.recommended {
        transform: scale(1);
    }

    .pricing-card {
        margin-top: 0;
    }

    .section-title {
        margin-bottom: 0;
    }

    .toggle-container {
        width: 280px;
        height: 50px;
    }

    .toggle-slider {
        width: 135px;
        height: 38px;
    }

    .toggle-slider.annual {
        transform: translateX(134px);
        width: 134px;
    }

    .toggle-option {
        height: 38px;
        font-size: 14px;
    }

    .annual-text {
        font-size: 12px;
    }

    .save-tag {
        font-size: 12px;
        padding: 6px 12px;
    }

    .annual-button {
        gap: 3px;
    }

    .plan-details-section .plan-description {
        margin-bottom: 16px;
    }

    .save-badge-container {
        right: -90px;
    }
}

@media (max-width:576px) {
    .current-plan-card {
        padding: 16px;
    }

    .pricing-toggle {
        margin: 55px 0 42px;
    }

    .save-tag::before {
        display: none;
    }

    .pro-plans .plan-features li {
        padding: 10px 0;
    }

    .save-badge-container {
        position: absolute;
        right: 30px;
        top: -41px;
        z-index: 5;
    }

    .save-badge-container::before {
        content: '';
        position: absolute;
        bottom: -7px;
        left: 50%;
        transform: translateX(-50%);
        z-index: -1;
        width: 0;
        height: 0;
        border-left: 7px solid transparent;
        border-right: 7px solid transparent;
        border-top: 7px solid #235de5;
    }

    .pricing-card {
        padding: 20px 16px;
    }

    .current-plan-name {
        margin: 0;
    }

    .toggle-container {
        width: 300px;
    }

    .toggle-slider.annual {
        transform: translateX(149px);
        width: 135px;
    }

    .section-title {
        font-size: 20px;
    }

    .submit-button {
        margin-top: 0px;
    }
}

@media (max-width: 440px) {
    .card-inputs-row {
        grid-template-columns: 1fr;
    }
}