/* Payments Page Specific Styles */

/* Payments Hero */
.payments-hero {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.9), rgba(91, 33, 182, 0.9));
    text-align: center;
    position: relative;
    overflow: hidden;
}

.payments-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="money" width="30" height="30" patternUnits="userSpaceOnUse"><text x="15" y="20" font-size="12" fill="rgba(245,158,11,0.2)" text-anchor="middle">৳</text></pattern></defs><rect width="100" height="100" fill="url(%23money)"/></svg>');
    animation: moneyFlow 25s linear infinite;
}

.payments-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 2;
}

.payments-hero h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--success-color);
    position: relative;
    z-index: 2;
}

.payments-hero p {
    font-size: 18px;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

/* Payment Methods */
.payment-methods {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(91, 33, 182, 0.9), rgba(16, 33, 62, 0.9));
}

.payment-methods h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: white;
}

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

.method-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: methodSlide 0.6s ease-out;
}

.method-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.method-card.popular {
    border: 2px solid var(--accent-color);
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
}

.method-card.fast {
    border: 2px solid var(--success-color);
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.3);
}

.method-card.crypto {
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.3);
}

.popular-badge, .fast-badge, .crypto-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 700;
    z-index: 3;
    animation: badgePulse 2s ease-in-out infinite;
}

.popular-badge {
    background: linear-gradient(45deg, var(--accent-color), #fbbf24);
    color: var(--text-dark);
}

.fast-badge {
    background: linear-gradient(45deg, var(--success-color), #059669);
    color: white;
}

.crypto-badge {
    background: linear-gradient(45deg, var(--secondary-color), #be185d);
    color: white;
}

.method-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    position: relative;
    z-index: 2;
    animation: methodIcon 4s ease-in-out infinite;
}

.method-card h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: white;
    position: relative;
    z-index: 2;
}

.method-card p {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.method-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.method-details span {
    font-size: 12px;
    color: var(--accent-color);
    font-weight: 500;
}

.method-card img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    margin-top: 20px;
    position: relative;
    z-index: 2;
}

/* Payment Highlights */
.payment-highlights {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(16, 33, 62, 0.9), rgba(30, 27, 75, 0.9));
}

.payment-highlights h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: white;
}

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

.highlight-card {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    animation: highlightFloat 6s ease-in-out infinite;
}

.highlight-card:nth-child(even) {
    animation-delay: -3s;
}

.highlight-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.highlight-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(45deg, var(--accent-color), #fbbf24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--text-dark);
    animation: highlightIcon 3s ease-in-out infinite alternate;
}

.highlight-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: white;
}

.highlight-card p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
}

/* Security Section */
.security-section {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(30, 27, 75, 0.9), rgba(91, 33, 182, 0.9));
}

.security-section h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: white;
}

.security-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.security-feature {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    transition: all 0.3s ease;
    position: relative;
}

.security-feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(45deg, var(--success-color), var(--primary-color));
    border-radius: 2px 0 0 2px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.security-feature:hover {
    transform: translateX(10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.security-feature:hover::before {
    opacity: 1;
}

.security-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, var(--success-color), #059669);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    min-width: 70px;
    animation: securityGlow 3s ease-in-out infinite alternate;
}

.security-content h4 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
}

.security-content p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
}

/* Payment Process */
.payment-process {
    padding: 80px 0;
    background: linear-gradient(180deg, rgba(91, 33, 182, 0.9), rgba(30, 27, 75, 0.9));
}

.payment-process h2 {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    color: white;
}

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

.tab-btn {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-color: transparent;
}

.tab-btn:hover {
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: translateY(-2px);
}

.tab-content {
    display: none;
    max-width: 800px;
    margin: 0 auto;
}

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

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

.step {
    background: var(--card-bg);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    animation: stepSlide 0.8s ease-out;
}

.step:nth-child(2) { animation-delay: 0.2s; }
.step:nth-child(3) { animation-delay: 0.4s; }
.step:nth-child(4) { animation-delay: 0.6s; }

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.step-number {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    background: linear-gradient(45deg, var(--accent-color), #fbbf24);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    animation: stepNumber 4s ease-in-out infinite;
}

.step h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: white;
}

.step p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.5;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(30, 27, 75, 0.9), rgba(91, 33, 182, 0.9));
    text-align: center;
}

.cta-content h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Animations */
@keyframes moneyFlow {
    0% { transform: translateX(0); }
    100% { transform: translateX(-30px); }
}

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

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes methodIcon {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(5deg) scale(1.05); }
    50% { transform: rotate(0deg) scale(1); }
    75% { transform: rotate(-5deg) scale(1.05); }
}

@keyframes highlightFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

@keyframes highlightIcon {
    0% { transform: scale(1) rotate(0deg); }
    100% { transform: scale(1.1) rotate(10deg); }
}

@keyframes securityGlow {
    0% { box-shadow: 0 0 15px rgba(16, 185, 129, 0.3); }
    100% { box-shadow: 0 0 25px rgba(16, 185, 129, 0.6); }
}

@keyframes stepSlide {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes stepNumber {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .payments-hero h1 {
        font-size: 32px;
    }
    
    .payments-hero h2 {
        font-size: 20px;
    }
    
    .methods-grid, .highlights-grid {
        grid-template-columns: 1fr;
    }
    
    .security-feature {
        flex-direction: column;
        text-align: center;
        padding: 24px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .process-tabs {
        justify-content: center;
        gap: 10px;
    }
    
    .tab-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .payments-hero {
        padding: 60px 0;
    }
    
    .method-card, .highlight-card, .security-feature, .step {
        margin: 0 10px;
    }
    
    .security-features {
        gap: 20px;
    }
    
    .process-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-content h2 {
        font-size: 28px;
    }
}