.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e0e0e0;
}

.logo h1 {
    color: #25D366;
    margin: 0;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav li {
    margin-left: 20px;
}

.nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav a:hover {
    color: #25D366;
}

.nav a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #25D366;
    transition: width 0.3s;
}

.nav a:hover:after {
    width: 100%;
}

.hero-section {
    text-align: center;
    margin-bottom: 40px;
    padding: 50px 20px;
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    color: white;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: pulse 15s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.05); opacity: 0.5; }
    100% { transform: scale(1); opacity: 0.3; }
}

.hero-section h2 {
    font-size: 26px;
    margin: 0;
    line-height: 1.4;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.tabs-container {
    margin-bottom: 40px;
    animation: fadeIn 0.8s ease-in-out;
}

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

.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 14px 28px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 8px;
    margin: 0 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    color: #333;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
}

.tab-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transition: all 0.6s;
}

.tab-btn:hover:before {
    left: 100%;
}

.tab-btn:hover {
    background-color: #e8e8e8;
    transform: translateY(-2px);
}

.tab-btn.active {
    background-color: #25D366;
    color: white;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.payment-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    animation: fadeIn 1s ease-in-out 0.2s both;
}

.plans-container {
    flex: 1;
    min-width: 300px;
}

.customer-details {
    flex: 1;
    min-width: 300px;
    animation: fadeIn 1s ease-in-out 0.4s both;
}

h3 {
    font-size: 22px;
    margin-bottom: 25px;
    color: #333;
    position: relative;
    padding-bottom: 12px;
}

h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #25D366;
    border-radius: 3px;
}

.role-plans {
    display: none;
}

.role-plans.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

.plan-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.plan {
    flex: 1;
    min-width: 220px;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
    background-color: white;
    transition: all 0.4s;
    position: relative;
    border: 2px solid transparent;
    overflow: hidden;
}

.plan:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.12);
}

.plan.selected {
    border-color: #25D366;
}

.plan:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #128C7E, #25D366);
    opacity: 0;
    transition: opacity 0.3s;
}

.plan:hover:before {
    opacity: 1;
}

.plan.selected:before {
    opacity: 1;
}

.plan h4 {
    font-size: 20px;
    margin-top: 0;
    margin-bottom: 15px;
    color: #333;
}

.price {
    font-size: 32px;
    font-weight: 700;
    color: #25D366;
    margin-bottom: 25px;
    display: flex;
    align-items: flex-start;
}

.price:before {
    content: '₹';
    font-size: 20px;
    margin-right: 2px;
    margin-top: 5px;
}

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

.features li {
    padding: 10px 0;
    position: relative;
    padding-left: 30px;
    color: #555;
    font-size: 15px;
}

.features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #25D366;
    font-weight: bold;
    font-size: 16px;
}

.select-plan-btn {
    width: 100%;
    padding: 12px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    color: #333;
    position: relative;
    overflow: hidden;
}

.select-plan-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transition: all 0.6s;
}

.select-plan-btn:hover:before {
    left: 100%;
}

.select-plan-btn:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

.select-plan-btn.active {
    background-color: #25D366;
    color: white;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.save-badge {
    position: absolute;
    top: -12px;
    right: -12px;
    background: linear-gradient(135deg, #FF5722 0%, #FF9800 100%);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: bold;
    box-shadow: 0 4px 8px rgba(255, 87, 34, 0.3);
    z-index: 1;
}

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

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #333;
    font-size: 15px;
}

input {
    width: 100%;
    padding: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s;
    background-color: #f9f9f9;
}

input:focus {
    border-color: #25D366;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.1);
    background-color: #fff;
}

.order-summary {
    margin-top: 35px;
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #25D366;
}

.order-summary h4 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 18px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.summary-item:last-child {
    border-bottom: none;
    font-weight: bold;
    color: #25D366;
}

.summary-item span:first-child {
    font-weight: 600;
    color: #555;
}

.pay-button {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(37, 211, 102, 0.3);
}

.pay-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0) 100%);
    transition: all 0.6s;
}

.pay-button:hover:before {
    left: 100%;
}

.pay-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

.pay-button:active {
    transform: translateY(1px);
}

.footer {
    text-align: center;
    margin-top: 60px;
    padding-top: 25px;
    border-top: 1px solid #e0e0e0;
    color: #777;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.loading-overlay.hidden {
    display: none;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(37, 211, 102, 0.1);
    border-top: 5px solid #25D366;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 25px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-overlay p {
    font-size: 18px;
    color: #333;
    font-weight: 500;
}

/* Success Page Styles */
.success-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}

.success-icon {
    text-align: center;
    margin-bottom: 30px;
    animation: bounceIn 1s;
}

@keyframes bounceIn {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.success-icon svg {
    width: 90px;
    height: 90px;
    fill: #25D366;
}

.success-message {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeIn 1s ease-in-out 0.3s both;
}

.success-message h2 {
    color: #25D366;
    margin-bottom: 15px;
    font-size: 32px;
}

.success-message p {
    color: #555;
    font-size: 18px;
    line-height: 1.6;
}

.order-details {
    background-color: #f9f9f9;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    animation: fadeIn 1s ease-in-out 0.5s both;
    border-left: 4px solid #25D366;
}

.order-details h3 {
    margin-top: 0;
    margin-bottom: 25px;
    color: #333;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

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

.detail-label {
    font-weight: 600;
    color: #555;
}

.detail-value {
    color: #333;
}

.support-options {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 50px;
    animation: fadeIn 1s ease-in-out 0.7s both;
}

.support-option {
    flex: 1;
    min-width: 220px;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s;
    position: relative;
    overflow: hidden;
}

.support-option:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.support-option.whatsapp {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    color: white;
}

.support-option.email {
    background: linear-gradient(135deg, #075E54 0%, #128C7E 100%);
    color: white;
}

.support-option:before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    animation: pulse 15s infinite;
}

.support-option h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: inherit;
    font-size: 22px;
}

.support-option h3:after {
    background-color: rgba(255, 255, 255, 0.5);
    left: 50%;
    transform: translateX(-50%);
}

.support-option p {
    margin-bottom: 25px;
    font-size: 16px;
    line-height: 1.5;
}

.support-button {
    display: inline-block;
    padding: 14px 28px;
    background-color: white;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.support-button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0) 100%);
    transition: all 0.6s;
    z-index: -1;
}

.support-button:hover:before {
    left: 100%;
}

.support-button:hover {
    background-color: #f0f0f0;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.back-to-home {
    text-align: center;
    margin-top: 50px;
    animation: fadeIn 1s ease-in-out 0.9s both;
}

.back-to-home a {
    display: inline-block;
    padding: 14px 28px;
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.back-to-home a:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.05) 50%, rgba(0,0,0,0) 100%);
    transition: all 0.6s;
}

.back-to-home a:hover:before {
    left: 100%;
}

.back-to-home a:hover {
    background-color: #e0e0e0;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .payment-container {
        flex-direction: column;
    }
    
    .plan-wrapper {
        flex-direction: column;
    }
    
    .header {
        flex-direction: column;
        text-align: center;
    }
    
    .nav ul {
        margin-top: 20px;
        justify-content: center;
    }
    
    .nav li:first-child {
        margin-left: 0;
    }
    
    .tabs {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .tab-btn {
        margin: 0;
        flex: 1;
        min-width: 100px;
        text-align: center;
        padding: 12px 15px;
    }
    
    .hero-section {
        padding: 30px 15px;
    }
    
    .hero-section h2 {
        font-size: 22px;
    }
    
    .support-options {
        flex-direction: column;
    }
    
    .support-option {
        margin-bottom: 20px;
    }
}

/* Additional animations */
@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeInScale {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Apply animations to elements */
.plan {
    animation: fadeInScale 0.5s ease-out both;
}

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

.plan:nth-child(2) {
    animation-delay: 0.3s;
}

.customer-details form {
    animation: slideInUp 0.5s ease-out 0.2s both;
}
