/* =========================
   PRICING PAGE STYLES
========================= */
.visu-pricing-wrapper {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
}

.visu-pricing-plans-section {
    background: #E0F2FE;
    padding: 100px 20px;
    text-align: center;
    color: #1e293b;
}

.visu-pricing-main-title {
    font-size: 36px;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.visu-pricing-main-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(140deg, #3b82f6, #60a5fa);
    border-radius: 3px;
}

.visu-pricing-subtitle {
    font-size: 16px;
    color: #64748b;
    padding: 20px;
}

.visu-pricing-cards-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 40px;
    flex-wrap: wrap;
}

/* Card Icon Styles */
.visu-card-icon {
    font-size: 48px;
    margin-bottom: 20px;
    color: #3b82f6;
}

/* Card Styles - Static position, animations only inside */
.visu-pricing-card {
    background: linear-gradient(140deg, #f6f9ff, #e1edff);
    backdrop-filter: blur(12px);
    padding: 35px;
    border-radius: 20px;
    flex: 1;
    max-width: 320px;
    min-width: 260px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden; /* Keeps all internal animations inside */
    border: 2px solid #3b82f6;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* Card hover - Only changes shadow and border, no movement */
.visu-pricing-card:hover {
    scale: 1.06; 
    background: linear-gradient(300deg, #f6f9ff, #e1edff);
    box-shadow: 0 25px 50px rgba(59,130,246,0.25);
    border-color: rgba(59,130,246,0.3);
    border: 2px solid #3b82f6;
}

/* Card shine effect on hover (Internal Animation) */
.visu-pricing-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: 0.5s;
    pointer-events: none;
    border-radius: 20px;
}

.visu-pricing-card:hover::before {
    left: 100%;
}

/* Ensure no unexpected animations on containers */
.visu-pricing-wrapper,
.visu-pricing-plans-section,
.visu-pricing-cards-grid,
.visu-pricing-main-title,
.visu-pricing-subtitle {
    animation: none;
    transform: none;
}

/* Plan Badge Styles */
.visu-plan-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 8px 16px;
    border-radius: 0 16px 0 16px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    animation: badgePulse 2s ease-in-out infinite;
}

.visu-plan-badge i {
    font-size: 14px;
}

@keyframes badgePulse {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(16, 185, 129, 0.6);
    }
}

.visu-plan-name {
    color: #1e293b;
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: 600;
}

.visu-plan-price {
    font-size: 42px;
    font-weight: bold;
    margin: 14px !important;
    color: #2563eb;
}

.visu-price-period {
    font-size: 14px;
    color: #64748b;
    font-weight: normal;
}

.visu-feature-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    text-align: left;
}

.visu-feature-list li {
    margin: 12px 0;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 10px;
}

.visu-feature-list li i {
    width: 20px;
    color: #3b82f6;
    font-size: 14px;
}

/* Button Animation (Internal to Card) */
.visu-pricing-btn {
    width: 100%;
    margin-top: 20px;
    padding: 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: #fff;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.visu-pricing-btn i {
    font-size: 14px;
}

.visu-pricing-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59,130,246,0.4);
}

/* Featured Card */
.visu-pricing-card-featured {
    transform: scale(1.07); /* Keeps it slightly larger permanently */
    background: linear-gradient(140deg, #f6f9ff, #e1edff);
    position: relative;
    overflow: hidden;
    border: 2px solid #3b82f6;
}


.visu-pricing-card-featured:hover {
    border: 2px solid #3b82f6;
    scale: 1.04; 
}

.visu-featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.visu-featured-badge i {
    font-size: 10px;
}

/* Current Plan Badge */
.visu-current-plan-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #3b82f6, #3b83f6a8);
    color: white;
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px #3b82f633;
    z-index: 10;
}

.visu-current-plan-badge i {
    font-size: 12px;
}

/* =========================
   SUCCESS MESSAGE STYLES
========================= */
.visu-success-message {
    background: #d1fae5;
    border-left: 4px solid #10b981;
    padding: 15px 20px;
    margin: 30px 0 0 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.visu-success-message i:first-child {
    font-size: 20px;
    color: #059669;
}

.visu-success-message p {
    margin: 0;
    color: #065f46;
    font-size: 14px;
    flex: 1;
}

/* =========================
   ERROR MESSAGE STYLES
========================= */
@keyframes visuSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.visu-error-message {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    border-left: 4px solid #ef4444;
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: visuSlideDown 0.5s ease;
}

.visu-error-message i:first-child {
    font-size: 24px;
    color: #dc2626;
}

.visu-error-message p {
    margin: 0;
    color: #991b1b;
    font-size: 15px;
    flex: 1;
}

.visu-error-message .close-message {
    cursor: pointer;
    color: #dc2626;
    font-size: 18px;
    transition: opacity 0.2s;
}

.visu-error-message .close-message:hover {
    opacity: 0.7;
}

/* =========================
   CHECKOUT MODAL STYLES
========================= */
.visu-checkout-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    backdrop-filter: blur(5px);
}

.visu-checkout-modal-container {
    background: white;
    width: 530px;
    max-width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 35px;
    border-radius: 20px;
    position: relative;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    animation: visuModalFadeIn 0.3s ease;
}

@keyframes visuModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.visu-step-badge {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.visu-step-badge.active {
    background: #3b82f6;
    color: white;
}

.visu-step-line {
    width: 40px;
    height: 2px;
    background: #e2e8f0;
    margin: 0 10px;
    position: relative;
    z-index: 0;
}

.visu-step-icon {
    text-align: center;
    font-size: 48px;
    color: #3b82f6;
    margin-bottom: 20px;
}

.visu-checkout-title {
    color: #1e293b;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.visu-checkout-plan-info {
    text-align: center;
    color: #64748b;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.visu-checkout-plan-info i {
    margin-right: 5px;
}

.visu-checkout-plan-info strong {
    color: #3b82f6;
    font-size: 18px;
}

.visu-plan-summary {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
}

.visu-plan-summary h3 {
    color: #1e293b;
    font-size: 20px;
    margin: 0 0 10px 0;
}

.visu-price-display {
    color: #3b82f6;
    font-size: 18px;
    margin: 0;
}

.visu-checkout-step-desc {
    color: #64748b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.visu-checkout-step-desc i {
    color: #3b82f6;
}

.visu-bank-details-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 20px;
}

.visu-bank-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
}

.visu-bank-row:last-child {
    border-bottom: none;
}

.visu-bank-label {
    font-weight: 600;
    color: #475569;
}

.visu-bank-label i {
    margin-right: 8px;
    width: 20px;
}

.visu-checkout-close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 20px;
    color: #94a3b8;
    cursor: pointer;
    text-decoration: none;
    background: none;
    border: none;
    transition: color 0.2s ease;
}

.visu-checkout-close-btn:hover {
    transform: rotate(0deg);
}

.visu-form-field {
    margin-bottom: 18px;
}

.visu-form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1e293b;
}

.visu-form-field label i {
    margin-right: 8px;
    color: #3b82f6;
}

.visu-form-field input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: white;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

.visu-form-field input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}

.visu-form-field small {
    display: block;
    margin-top: 5px;
    color: #94a3b8;
    font-size: 11px;
}

.visu-form-field small i {
    margin-right: 4px;
}

.visu-checkout-next-btn,
.visu-submit-payment-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.visu-checkout-next-btn:hover,
.visu-submit-payment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59,130,246,0.3);
}

.visu-checkout-back-btn {
    width: 100%;
    padding: 12px;
    background: #f1f5f9;
    color: #475569;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.visu-checkout-back-btn:hover {
    background: #e2e8f0;
    transform: translateX(-5px);
}

.visu-checkout-close-modal-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.visu-checkout-close-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(16,185,129,0.3);
}

.visu-success-animation {
    text-align: center;
    font-size: 80px;
    margin-bottom: 20px;
    animation: visuSuccessBounce 0.6s ease;
}

@keyframes visuSuccessBounce {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

.visu-success-animation i {
    color: #10b981;
}

#visu-checkout-step3 {
    text-align: center;
}

#visu-checkout-step3 p {
    color: #64748b;
    margin-bottom: 10px;
}

#visu-checkout-step3 p i {
    margin-right: 8px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
    .visu-pricing-cards-grid {
        flex-direction: column;
        align-items: center;
    }

    .visu-pricing-card-featured {
        transform: scale(1);
    }
}

@media (max-width: 600px) {
    .visu-pricing-main-title {
        font-size: 28px;
    }
    
    .visu-checkout-modal-container {
        padding: 25px;
    }
    
    .visu-pricing-card {
        padding: 25px;
    }
    
    .visu-plan-price {
        font-size: 36px;
    }
}

/* =========================
   TABS
========================= */
.visu-pricing-tabs{
    display:flex;
    justify-content:center;
    gap:15px;
    margin-bottom:60px;
    flex-wrap:wrap;
}

.visu-tab-btn{
    border:none;
    padding:14px 26px;
    border-radius:50px;
    background:#ffffff;
    color:#2563eb;
    cursor:pointer;
    font-weight:700;
    transition:0.3s ease;
}

.visu-tab-btn.active{
    background:#2563eb;
    color:#ffffff;
}

.visu-tab-content{
    display:none;
}

.visu-tab-content.active{
    display:block;
}

/* Custom Input Fields for OTP & Email */
.visu-custom-field-wrapper {
    margin-bottom: 15px;
}

.visu-custom-input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

.visu-otp-code-input {
    text-align: center;
    font-size: 18px;
    letter-spacing: 2px;
}

.visu-readonly-input {
    background-color: #f5f5f5;
    cursor: not-allowed;
}

/* Success and Error Message Styling */
.visu-otp-success-msg {
    color: #28a745;
    font-size: 14px;
    margin-bottom: 10px;
}

.visu-otp-error-msg {
    margin-top: 15px;
    font-size: 14px;
    color: #dc3545;
    font-weight: bold;
    text-align: center;
}


/* Make the Free button look like a static/current plan button */
.visu-pricing-card-free .visu-pricing-btn {
    background: none !important; 
    color: #3b82f6 !important; 
    border: 2px solid #3b82f6 !important; 
    box-shadow: none !important; 
    cursor: default !important; 
    transition: none !important;
}

/* Completely remove the hover effect (no scaling, no color change, no shadow) */
.visu-pricing-card-free .visu-pricing-btn:hover,
.visu-pricing-card-free .visu-pricing-btn:focus,
.visu-pricing-card-free .visu-pricing-btn:active {
    background-color: none !important;
    color: #3b82f6 !important;
    box-shadow: none !important;
    transform: none !important; 
}