
/* Nexa Glass - Premium Card Design System */

:root {
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    --nexa-emerald: #10b981;
    --nexa-emerald-dark: #059669;
}

/* Base Card Styles */
.nexa-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: hidden;
}

.nexa-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

/* Card Glow Effect */
.nexa-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.nexa-card:hover::after {
    opacity: 1;
}

/* Virtual Debit Card Specific Styles */
.premium-debit-card {
    aspect-ratio: 1.58 / 1;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    border-radius: 24px;
    padding: 2rem;
    color: white;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    perspective: 1000px;
    cursor: pointer;
    overflow: hidden;
}

/* Holographic Chip Effect */
.holographic-chip {
    width: 45px;
    height: 35px;
    background: linear-gradient(135deg, #ffd700 0%, #daa520 20%, #ffd700 40%, #b8860b 60%, #ffd700 80%, #daa520 100%);
    background-size: 200% 200%;
    animation: shimmer 3s infinite linear;
    border-radius: 6px;
    position: relative;
}

.holographic-chip::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
}

@keyframes shimmer {
    0% { background-position: 100% 100%; }
    100% { background-position: 0% 0%; }
}

/* Shimmer Light Sweep */
.shimmer-sweep {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.1), transparent);
    transform: skewX(-25deg);
    transition: 0.75s;
}

.premium-debit-card:hover .shimmer-sweep {
    left: 150%;
}

/* Card Number Styling */
.card-number-display {
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 0.15em;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Service Card Icons */
.service-icon-container {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.nexa-card:hover .service-icon-container {
    background: var(--nexa-emerald);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}
