

/*Pricing Plan Style */

/* General Styling */
.pricing-plans {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 80px 0;
}

.heading {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
}

/* Toggle Switch Styling */
.pricing-toggle {
    margin-bottom: 50px;
}

.toggle-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0B4650;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

.toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-label-switch {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.4s;
    border-radius: 34px;
}

.toggle-slider {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

.toggle-input:checked + .toggle-label-switch {
    background-color: #2c7a7b;
}

.toggle-input:checked + .toggle-label-switch .toggle-slider {
    transform: translateX(26px);
}

.save-badge {
    background: #ABEB00;
    color: black;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* Pricing Card Styling */
.pricing-card {
    border-radius: 16px;
    padding: 40px 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Basic Plan - Light Green/White */
.basic-plan {
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
}

/* Standard Plan (Featured) - Dark Teal/Green */
.standard-plan.featured {
    background: #0B4650;
    color: white;
    border: 2px solid #0B4650;
    margin-top: -3px;
    margin-bottom: -3px;
    padding-top: 43px;
    padding-bottom: 43px;
}

.standard-plan.featured:hover {
    transform: translateY(-8px);
}

/* Premium Plan - Light Gray/White */
.premium-plan {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

/* Popular Badge - Positioned lower */
.popular-badge {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: #ABEB00;
    color: black;
    padding: 6px 18px;
    border-radius: 16px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    z-index: 10;
}

/* Plan Header */
.plan-header {
    margin-bottom: 30px;
    margin-top: 20px; /* Add space below popular badge */
}


/* Extra space for popular badge */
/*
.standard-plan .plan-header {
    margin-top: 35px; 
}
*/

.plan-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1e293b;
}

.standard-plan.featured .plan-name {
    color: white;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 10px;
}

.currency {
    font-size: 1.2rem;
    font-weight: 600;
    margin-right: 5px;
    color: #1e293b;
}

.price-amount {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
}

/* Basic Plan Price Color */
.basic-plan .price-amount {
    color: #0B4650;
}

.basic-plan .currency {
    color: #0B4650;
}

/* Standard Plan (Featured) Price Color - Keep as white */
.standard-plan.featured .price-amount,
.standard-plan.featured .currency,
.standard-plan.featured .price-period {
    color: white;
}

/* Premium Plan Price Color */
.premium-plan .price-amount {
    color: #0B4650;
}

.premium-plan .currency {
    color: #0B4650;
}

.price-period {
    font-size: 1rem;
    color: #64748b;
    margin-left: 5px;
}

.standard-plan.featured .price-period {
    color: rgba(255, 255, 255, 0.8);
}

/* Features */
.plan-features {
    flex-grow: 1;
    margin-bottom: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    padding: 8px 0;
}

.free-trial {
    background: rgba(16, 185, 129, 0.1);
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #0B4650;
}

.standard-plan.featured .free-trial {
    background: rgba(255, 255, 255, 0.15);
    border-left-color: white;
}

.feature-check {
    font-size: 1rem;
    margin-right: 12px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-check.available {
    background: #dcfce7;
    color: #16a34a;
}

.feature-check.unavailable {
    background: #fef2f2;
    color: #dc2626;
}

.standard-plan.featured .feature-check.available {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.standard-plan.featured .feature-check.unavailable {
    background: rgba(220, 38, 38, 0.2);
    color: #fecaca;
}

.feature-item span {
    font-size: 1rem;
    color: #475569;
    font-weight: 500;
    flex: 1;
}

.standard-plan.featured .feature-item span {
    color: rgba(255, 255, 255, 0.9);
}

/* Package Limits */
.package-limits {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.standard-plan.featured .package-limits {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.limit-item {
    display: flex;
    align-items: center;
    margin-bottom: 1px;
    padding: 6px 0;
}

.limit-icon {
    font-size: 1rem;
    margin-right: 10px;
    color: #64748b;
    width: 20px;
    flex-shrink: 0;
}

.standard-plan.featured .limit-icon {
    color: rgba(255, 255, 255, 0.7);
}

.limit-item span {
    font-size: 1rem;
    color: #475569;
    font-weight: 300;
}



.standard-plan.featured .limit-item span {
    color: rgba(255, 255, 255, 0.8);
}

/* CTA Buttons */
.plan-cta {
    text-align: center;
    margin-top: auto;
}

.btn-choose {
    width: 100%;
    padding: 15px 30px;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.signup-btn,
.contact-btn {
    background: linear-gradient(45deg, #059669, #047857);
    color: white;
}

.signup-btn:hover,
.contact-btn:hover {
    background: linear-gradient(45deg, #047857, #065f46);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.4);
    color: white;
    text-decoration: none;
}

.featured-btn {
    background: white !important;
    color: #047857 !important;
    border: 2px solid white;
}

.featured-btn:hover {
    background: rgba(255, 255, 255, 0.95) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
    color: #047857 !important;
}

/* Responsive Design */
@media (max-width: 992px) {
    .standard-plan.featured {
        margin-bottom: 30px;
    }
    
    .standard-plan.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .pricing-plans {
        padding: 60px 0;
    }
    
    .heading {
        font-size: 2rem;
    }
    
    .pricing-card {
        padding: 30px 20px;
        margin-bottom: 30px;
    }
    
    .price-amount {
        font-size: 2.5rem;
    }
    
    .plan-name {
        font-size: 1.5rem;
    }
    
    .pricing-toggle {
        flex-direction: column;
        gap: 5px;
    }
    
    .toggle-switch {
        order: -1;
    }
    
    .popular-badge {
        top: 8px;
        font-size: 0.8rem;
        padding: 5px 15px;
    }
}



/* Sign Up Form Modal Style */

 /* Modal backdrop and display fixes */
        .modal {
            display: none !important;
        }

        .modal.show {
            display: block !important;
        }

        .modal-backdrop {
            background: rgba(0, 0, 0, 0.5);
            backdrop-filter: blur(5px);
        }

        .modal-content {
            border: none;
            border-radius: 16px;
            box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
            overflow: hidden;
            background: white;
            margin: 20px auto;
        }

        .modal-dialog {
            max-width: 600px;
            margin: 20px auto;
        }

        .modal-body {
            padding: 25px !important;
            background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
        }

        .modal-header {
            border-bottom: none;
            padding: 15px 20px 0 20px;
            position: relative;
        }

        /* Enhanced close button */
        .btn-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
            border: none;
            border-radius: 20%;
            width: 20px;
            height: 20px;
            font-size: 18px;
            font-weight: 600;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 1;
            transition: all 0.3s ease;
            cursor: pointer;
            z-index: 1001;
        }

        .btn-close:hover {
            transform: scale(1.1);
            box-shadow: 0 5px 15px rgba(239, 68, 68, 0.4);
        }

        .btn-close:focus {
            outline: none;
            box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.3);
        }

        .heading {
            color: #0B4650;
            font-weight: 700;
            font-size: 1.75rem;
            margin-bottom: 8px;
            text-align: center;
        }

        .lead {
            color: #718096;
            font-size: 1rem;
            margin-bottom: 20px !important;
            text-align: center;
            line-height:26px;
        }

        .selected-plan {
            background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 100%);
            border: 1px solid #0288d1;
            border-radius: 8px;
            padding: 10px 15px;
            text-align: center;
            margin-bottom: 20px;
            font-weight: 600;
            color: #01579b;
        }

        .form-control {
            border: 2px solid #e2e8f0;
            border-radius: 8px;
            padding: 10px 12px;
            font-size: 14px;
            transition: all 0.3s ease;
            background: white;
            margin-bottom: 12px;
        }

        .form-control:focus {
            border-color: #ABEB00;
            box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
            transform: translateY(-1px);
        }

        .form-control::placeholder {
            color: #a0aec0;
            font-weight: 400;
        }

        .input-group {
            margin-bottom: 12px;
        }

        .input-group-text {
            background: #ABEB00;
            color: white;
            border: 2px solid #ABEB00;
            border-left: none;
            border-radius: 0 8px 8px 0;
            font-weight: 500;
        }

        .input-group .form-control {
            border-right: none;
            border-radius: 8px 0 0 8px;
            margin-bottom: 0;
        }

        .btn {
            border-radius: 8px;
            padding: 10px 16px;
            font-weight: 600;
            transition: all 0.3s ease;
            border: none;
            
        }

        .btn-primary {
            background: #2c7a7b;
            border: none;
        }

        .btn-primary:hover {
            transform: translateY(-1px);
            box-shadow: #0B4650;
             background: #0B4650;
        }

        .btn-success {
            background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
            border: none;
        }

        .btn-success:hover {
            transform: translateY(-1px);
            box-shadow: 0 8px 20px rgba(72, 187, 120, 0.3);
        }

        .button.lg.style2 {
            background: #2c7a7b;
            color: white;
            border: none;
            padding: 12px 20px;
            font-size: 16px;
            font-weight: 600;
            border-radius: 8px;
            transition: all 0.3s ease;
            cursor: pointer;
            width: 100%;
            margin-top: 8px;
        }

        .button.lg.style2:hover {
            transform: translateY(-1px);
            box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
            background: #0B4650;
        }

        .text-danger {
            color: #e53e3e !important;
            font-size: 12px;
            margin-top: 3px;
        }

        .d-none {
            display: none !important;
        }

        .col-6, .col-md-4, .col-md-6, .col-md-12, .col-12 {
            padding: 0 6px;
        }

        .row {
            margin: 0 -6px;
        }

        #otp-section {
            animation: slideDown 0.3s ease;
        }

        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .custom-domain-info {
            background: #f7fafc;
            padding: 8px 10px;
            border-radius: 6px;
            margin-top: 4px;
            font-size: 12px;
            color: #4a5568;
            border-left: 3px solid #667eea;
        }

        .custom-domain-info a {
            color: #e53e3e;
            text-decoration: none;
            font-weight: 500;
        }

        .custom-domain-info a:hover {
            text-decoration: underline;
        }

        /* Responsive adjustments */
        @media (max-width: 768px) {
            .modal-dialog {
                margin: 10px;
                max-width: calc(100% - 20px);
            }
            
            .modal-body {
                padding: 20px 15px !important;
            }
            
            .heading {
                font-size: 1.5rem;
            }
            
            .col-6, .col-md-4, .col-md-6 {
                width: 100% !important;
                flex: none !important;
            }
        }
        
        
        
        
        
        
        
        
        
        
        
        
        /* Subdomain Modal Styles */
        .subdomain-modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            z-index: 9999;
            animation: subdomainFadeIn 0.3s ease-out;
        }

        .subdomain-modal-overlay.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .subdomain-modal {
            background: white;
            border-radius: 16px;
            width: 90%;
            max-width: 450px;
            box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1);
            transform: scale(0.9);
            animation: subdomainModalSlideIn 0.3s ease-out forwards;
            position: relative;
            overflow: hidden;
            border: 0px solid #e2e8f0;
        }

        @keyframes subdomainFadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes subdomainModalSlideIn {
            to {
                transform: scale(1);
            }
        }

        .subdomain-modal-header {
            background: #2c7a7b;
            padding: 30px 25px;
            text-align: center;
            color: white;
        }

        .subdomain-modal-title {
            font-size: 1.4rem;
            font-weight: 600;
            margin-bottom: 8px;
            opacity: 0.95;
        }

        .subdomain-modal-subtitle {
            font-size: 0.9rem;
            opacity: 0.8;
        }

        .subdomain-modal-content {
            padding: 30px 25px;
        }

        .subdomain-close-btn {
            position: absolute;
            top: 15px;
            right: 20px;
            background: none;
            border: none;
            font-size: 24px;
            color: rgba(255, 255, 255, 0.8);
            cursor: pointer;
            width: 30px;
            height: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.2s;
            z-index: 10;
        }

        .subdomain-close-btn:hover {
            background-color: rgba(255, 255, 255, 0.2);
            color: white;
        }

        .subdomain-input-group {
            margin-bottom: 24px;
        }

        .subdomain-input-label {
            display: block;
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 8px;
            font-size: 0.9rem;
        }

        .subdomain-input-container {
            position: relative;
            display: flex;
            align-items: center;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            background: #f8fafc;
            transition: all 0.3s ease;
        }

        .subdomain-input-container:focus-within {
            border-color: #0B4650;
            background: white;
            box-shadow: 0 0 0 3px rgba(11, 70, 80, 0.1);
        }

        .subdomain-text-input {
            flex: 1;
            padding: 14px 18px;
            border: none;
            outline: none;
            font-size: 1rem;
            font-weight: 500;
            color: #1e293b;
            background: transparent;
        }

        .subdomain-suffix {
            padding: 14px 18px;
            background-color: #ABEB00;
            color: #1e293b;
            font-weight: 600;
            border-radius: 0 8px 8px 0;
            font-size: 1rem;
            white-space: nowrap;
        }

        .subdomain-enter-btn {
            width: 100%;
            padding: 14px 24px;
            background: #2c7a7b;
            color: white;
            border: none;
            border-radius: 10px;
            font-size: 1.1rem;
            font-weight: 700;
            cursor: pointer;
            transition: all 0.3s ease;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            box-shadow: 0 4px 15px rgba(11, 70, 80, 0.3);
            margin: 25px 0 20px;
        }

        .subdomain-enter-btn:hover {
            background: #0B4650;
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(11, 70, 80, 0.4);
        }

        .subdomain-enter-btn:active {
            transform: translateY(0);
        }

        .subdomain-example-text {
            font-size: 0.85rem;
            color: #64748b;
            margin-top: 8px;
            padding: 8px 12px;
            background-color: #f0fdf4;
            border-radius: 6px;
            border-left: 4px solid #ABEB00;
            font-weight: 500;
        }

        /* Demo section */
        .demo-section {
            text-align: center;
            margin-bottom: 40px;
        }

        .demo-title {
            font-size: 20px;
            color: #333;
            margin-bottom: 16px;
        }
