/* Payments Page Specific Styles */

.payments-header {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease;
}

.payments-header h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.payments-header h2 {
    font-size: 24px;
    color: var(--success-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.payments-header p {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Sidebar Enhancements */
.payment-stats {
    margin-top: 30px;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    padding-top: 30px;
}

.payment-stats h3 {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    margin: 0 20px 15px;
    letter-spacing: 0.5px;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-label {
    font-size: 13px;
    color: var(--text-muted);
}

.stat-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
}

.security-badge {
    margin-top: 30px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--success-color);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 30px 20px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.badge-icon {
    width: 40px;
    height: 40px;
    background: var(--success-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: white;
}

.badge-content h4 {
    color: var(--success-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.badge-content p {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.4;
}

/* Payment Methods Section */
.payment-methods-section {
    margin-bottom: 60px;
}

.payment-methods-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.payment-method-card {
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
    border: 2px solid transparent;
}

.payment-method-card:nth-child(1) { animation-delay: 0.1s; }
.payment-method-card:nth-child(2) { animation-delay: 0.2s; }
.payment-method-card:nth-child(3) { animation-delay: 0.3s; }
.payment-method-card:nth-child(4) { animation-delay: 0.4s; }
.payment-method-card:nth-child(5) { animation-delay: 0.5s; }
.payment-method-card:nth-child(6) { animation-delay: 0.6s; }

.payment-method-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
}

.payment-method-card.crypto {
    border-color: var(--accent-color);
    box-shadow: 0 0 30px rgba(255, 107, 53, 0.2);
}

.payment-method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
    transition: left 0.5s ease;
}

.payment-method-card:hover::before {
    left: 100%;
}

.payment-method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.method-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.method-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.method-icon.bkash {
    background: linear-gradient(135deg, #E2136E, #FF1493);
}

.method-icon.nagad {
    background: linear-gradient(135deg, #ED1C24, #FF6B00);
}

.method-icon.rocket {
    background: linear-gradient(135deg, #8E44AD, #3498DB);
}

.method-icon.upay {
    background: linear-gradient(135deg, #2ECC71, #27AE60);
}

.method-icon.usdt {
    background: linear-gradient(135deg, #26A17B, #50AF95);
}

.method-icon.cards {
    background: linear-gradient(135deg, #1E3A8A, #3B82F6);
}

.method-icon img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

.method-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.method-info p {
    color: var(--text-secondary);
    font-size: 14px;
}

.popularity-badge {
    background: var(--gradient-primary);
    color: var(--background-dark);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    margin-top: 5px;
    display: inline-block;
    animation: pulse 2s infinite;
}

.crypto-badge {
    background: var(--gradient-secondary);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    margin-top: 5px;
    display: inline-block;
}

.method-details {
    position: relative;
    z-index: 2;
}

.method-specs {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 25px;
}

.spec {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.spec:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

.spec-value {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 14px;
}

.spec-value.instant {
    color: var(--success-color);
    font-weight: 700;
}

.spec-value.free {
    color: var(--primary-color);
    font-weight: 700;
}

.method-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.method-actions .btn {
    flex: 1;
    min-width: 140px;
    padding: 12px 20px;
    font-size: 14px;
    text-align: center;
}

/* Payment Advantages */
.payment-advantages {
    margin-bottom: 60px;
}

.payment-advantages h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.advantage-item {
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
}

.advantage-item:nth-child(1) { animation-delay: 0.1s; }
.advantage-item:nth-child(2) { animation-delay: 0.2s; }
.advantage-item:nth-child(3) { animation-delay: 0.3s; }
.advantage-item:nth-child(4) { animation-delay: 0.4s; }

.advantage-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255, 215, 0, 0.05), transparent 30%);
    animation: rotate 8s linear infinite;
}

.advantage-item > * {
    position: relative;
    z-index: 2;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.advantage-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--background-dark);
    margin: 0 auto 20px;
}

.advantage-item h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.advantage-item p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.advantage-stats {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
}

/* Payment Process */
.payment-process {
    margin-bottom: 60px;
}

.payment-process h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: center;
    justify-content: center;
}

.process-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    background: var(--surface-color);
    color: var(--text-secondary);
    border: 2px solid rgba(255, 215, 0, 0.3);
    padding: 15px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--primary-color);
    color: var(--background-dark);
    border-color: var(--primary-color);
}

.tab-content {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.tab-content.active {
    display: block;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.step {
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--background-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin: 0 auto 20px;
    position: relative;
}

.step-number::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

.step-content h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Security Section */
.security-section {
    margin-bottom: 60px;
}

.security-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: center;
    justify-content: center;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.security-feature {
    background: var(--surface-color);
    border: 2px solid var(--success-color);
    border-radius: var(--border-radius-lg);
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
}

.security-feature:nth-child(1) { animation-delay: 0.1s; }
.security-feature:nth-child(2) { animation-delay: 0.2s; }
.security-feature:nth-child(3) { animation-delay: 0.3s; }
.security-feature:nth-child(4) { animation-delay: 0.4s; }

.security-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

.security-icon {
    width: auto;
    height: 150px;
    background: var(--success-color);
    border-radius: 10%;
		overflow: hidden;
		display: flex;
		align-items: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0 auto 20px;
}

.security-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.security-feature h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.security-feature p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Payment FAQ */
.payment-faq {
    margin-bottom: 60px;
}

.payment-faq h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: center;
    justify-content: center;
}

.faq-grid {
    display: grid;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--surface-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    animation: fadeInUp 0.6s ease;
    animation-fill-mode: both;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-item:nth-child(6) { animation-delay: 0.6s; }

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question:hover {
    background: rgba(255, 215, 0, 0.05);
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    font-size: 16px;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 20px 30px 30px;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .payment-methods-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
}

@media (max-width: 768px) {
    .payments-header h1 {
        font-size: 32px;
    }
    
    .payments-header h2 {
        font-size: 20px;
    }
    
    .payment-methods-grid,
    .advantages-grid,
    .process-steps,
    .security-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-method-card {
        padding: 25px;
    }
    
    .method-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .method-actions {
        flex-direction: column;
    }
    
    .method-actions .btn {
        min-width: auto;
    }
    
    .process-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .payment-advantages h2,
    .payment-process h2,
    .security-section h2,
    .payment-faq h2 {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .payments-header h1 {
        font-size: 26px;
    }
    
    .payments-header h2 {
        font-size: 18px;
    }
    
    .payment-method-card,
    .advantage-item,
    .step,
    .security-feature {
        padding: 20px;
    }
    
    .method-icon {
        width: 50px;
        height: 50px;
    }
    
    .method-icon img {
        width: 30px;
        height: 30px;
    }
    
    .method-info h3 {
        font-size: 20px;
    }
    
    .method-specs {
        padding: 15px;
    }
    
    .spec {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        padding: 10px 0;
    }
    
    .advantage-icon,
    .security-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .faq-question {
        padding: 20px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-item.active .faq-answer {
        padding: 15px 20px 25px;
    }
    
    .payment-advantages h2,
    .payment-process h2,
    .security-section h2,
    .payment-faq h2 {
        font-size: 24px;
    }
}