/* Futuristic Payment Page Styles */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --glow-color: rgba(102, 126, 234, 0.5);
}

/* Animated Background */
.payment-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 4rem 0;
}

.payment-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(102, 126, 234, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(118, 75, 162, 0.2) 0%, transparent 50%);
    animation: backgroundPulse 8s ease-in-out infinite;
}

@keyframes backgroundPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.security-banner {
    position: relative;
    text-align: center;
    padding: 3rem 2rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    margin-bottom: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 0 50px rgba(102, 126, 234, 0.1);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), inset 0 0 50px rgba(102, 126, 234, 0.1); }
    50% { box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4), inset 0 0 80px rgba(102, 126, 234, 0.2); }
}

.security-icons {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.security-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3), rgba(118, 75, 162, 0.3));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    animation: float 3s ease-in-out infinite, rotate360 20s linear infinite;
    box-shadow: 0 0 30px rgba(102, 126, 234, 0.5);
}

.security-icon::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, #764ba2, #667eea);
    opacity: 0;
    animation: borderGlow 2s ease-in-out infinite;
    z-index: -1;
}

.security-icon i {
    font-size: 32px;
    color: #fff;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.security-icon:nth-child(2) {
    animation-delay: 0.5s;
}

.security-icon:nth-child(3) {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

@keyframes rotate360 {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes borderGlow {
    0%, 100% { opacity: 0; }
    50% { opacity: 0.5; }
}

.security-banner h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(102, 126, 234, 0.8), 0 0 40px rgba(102, 126, 234, 0.5);
    animation: textGlow 2s ease-in-out infinite;
    letter-spacing: 2px;
}

@keyframes textGlow {
    0%, 100% { text-shadow: 0 0 20px rgba(102, 126, 234, 0.8), 0 0 40px rgba(102, 126, 234, 0.5); }
    50% { text-shadow: 0 0 30px rgba(102, 126, 234, 1), 0 0 60px rgba(102, 126, 234, 0.8); }
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    font-weight: 500;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.trust-indicators {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    position: relative;
    z-index: 1;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.trust-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.2), transparent);
    transition: left 0.5s;
}

.trust-badge:hover::before {
    left: 100%;
}

.trust-badge:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.3);
    border-color: #667eea;
}

.trust-badge i {
    font-size: 3rem;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 60px;
    animation: iconPulse 2s ease-in-out infinite;
}

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

.badge-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.badge-content strong {
    font-size: 1.1rem;
    color: #333;
}

.badge-content span {
    font-size: 0.9rem;
    color: #666;
}

.security-certifications-grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.cert-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cert-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.cert-badge i {
    font-size: 2.5rem;
    color: #fff;
    filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.8));
    animation: iconFloat 3s ease-in-out infinite;
}

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

.cert-badge span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Security Features Grid */
.security-header {
    text-align: center;
    margin-bottom: 3rem;
}

.security-header i {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.security-header h2 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.security-header p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.security-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-bottom: 4rem;
}

.security-feature-card {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.security-feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
}

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

.security-feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    border-color: #667eea;
}

.feature-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    animation: iconRotate 10s linear infinite;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.4);
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(45deg, #667eea, transparent, #764ba2);
    animation: borderRotate 3s linear infinite;
    z-index: -1;
}

@keyframes iconRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes borderRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.feature-icon i {
    font-size: 2.5rem;
    color: #fff;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.5));
}

.security-feature-card h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
}

.security-feature-card p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(102, 126, 234, 0.1);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #667eea;
}

.security-badge i {
    color: #28a745;
}

/* Certifications Section */
.security-certifications-section {
    text-align: center;
    padding: 3rem;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    border-radius: 15px;
    margin-bottom: 2rem;
}

.security-certifications-section h3 {
    font-size: 1.8rem;
    color: #333;
    margin-bottom: 2rem;
}

.certification-badges {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cert-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    min-width: 120px;
    transition: transform 0.3s ease;
}

.cert-item:hover {
    transform: scale(1.05);
}

.cert-item i {
    font-size: 2.5rem;
    color: #667eea;
}

.cert-item span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    text-align: center;
}

/* Security Guarantee */
.security-guarantee {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding: 3rem;
    background: linear-gradient(135deg, #00d2ff 0%, #3a7bd5 100%);
    border-radius: 25px;
    color: #fff;
    box-shadow: 0 15px 50px rgba(0, 210, 255, 0.4);
    position: relative;
    overflow: hidden;
    animation: guaranteeGlow 3s ease-in-out infinite;
}

.security-guarantee::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: guaranteeRotate 10s linear infinite;
}

@keyframes guaranteeGlow {
    0%, 100% { box-shadow: 0 15px 50px rgba(0, 210, 255, 0.4); }
    50% { box-shadow: 0 15px 50px rgba(0, 210, 255, 0.6), 0 0 100px rgba(0, 210, 255, 0.3); }
}

@keyframes guaranteeRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.guarantee-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, 0.3);
    animation: guaranteeIconPulse 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes guaranteeIconPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 20px rgba(255, 255, 255, 0.3); }
    50% { transform: scale(1.1); box-shadow: 0 0 40px rgba(255, 255, 255, 0.5); }
}

.guarantee-icon i {
    font-size: 3rem;
    color: #fff;
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.8));
}

.guarantee-content h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.guarantee-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

/* Payment Cards Enhancement */
.payment-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.payment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s;
}

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

.payment-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .security-banner h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .security-icons {
        gap: 1rem;
    }
    
    .security-icon {
        width: 60px;
        height: 60px;
    }
    
    .security-icon i {
        font-size: 24px;
    }
    
    .trust-indicators {
        grid-template-columns: 1fr;
    }
    
    .security-features-grid {
        grid-template-columns: 1fr;
    }
    
    .certification-badges {
        gap: 1rem;
    }
    
    .security-guarantee {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
    }
    
    .guarantee-content h3 {
        font-size: 1.4rem;
    }
    
    .guarantee-content p {
        font-size: 1rem;
    }
}

/* Dark Mode Support */
body.dark-mode .payment-hero {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
}

body.dark-mode .security-banner {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(102, 126, 234, 0.3);
}

body.dark-mode .trust-badge {
    background: rgba(45, 45, 45, 0.95);
    border-color: rgba(102, 126, 234, 0.3);
}

body.dark-mode .trust-badge:hover {
    background: rgba(55, 55, 55, 0.95);
    border-color: #667eea;
}

body.dark-mode .badge-content strong {
    color: #fff;
}

body.dark-mode .badge-content span {
    color: #ccc;
}

body.dark-mode .security-feature-card {
    background: linear-gradient(145deg, #2d2d2d, #1a1a1a);
    border-color: rgba(102, 126, 234, 0.2);
}

body.dark-mode .security-feature-card h3 {
    color: #fff;
}

body.dark-mode .security-feature-card p {
    color: #ccc;
}

body.dark-mode .security-certifications-section {
    background: rgba(0, 0, 0, 0.2);
}

body.dark-mode .cert-item {
    background: rgba(45, 45, 45, 0.8);
    border-color: rgba(102, 126, 234, 0.3);
}

body.dark-mode .cert-item span {
    color: #fff;
}

body.dark-mode .payment-card {
    background: rgba(45, 45, 45, 0.95);
    border-color: rgba(102, 126, 234, 0.2);
}

body.dark-mode .payment-card:hover {
    border-color: #667eea;
}
