/* =====================================================
   PREMIUM PRICING CARDS - WOW Enhancement
   ===================================================== */

/* Base Pricing Card - Dramatic Upgrade */
.pricing-card {
    position: relative;
    background: linear-gradient(145deg, rgba(20, 20, 35, 0.9), rgba(10, 10, 20, 0.95)) !important;
    border: 1px solid transparent !important;
    border-radius: 24px !important;
    padding: 2.5rem !important;
    padding-top: 3rem !important;
    margin-top: 1.5rem !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: visible !important;
    backdrop-filter: blur(20px);
}

/* Animated gradient border effect */
.pricing-card::before {
    content: '';
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.3), rgba(94, 90, 255, 0.1), rgba(147, 51, 234, 0.3));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.pricing-card:hover::before {
    opacity: 1;
}

/* Glow effect on hover */
.pricing-card:hover {
    transform: translateY(-15px) scale(1.02) !important;
    box-shadow:
        0 25px 60px rgba(147, 51, 234, 0.25),
        0 0 80px rgba(147, 51, 234, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(147, 51, 234, 0.5) !important;
}

/* Featured Card - Extra Dramatic */
.pricing-card.featured {
    background: linear-gradient(145deg, rgba(147, 51, 234, 0.15), rgba(20, 20, 35, 0.95)) !important;
    border-color: transparent !important;
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.featured::before {
    display: block;
    background: linear-gradient(135deg, #9333ea, #5E5AFF, #c084fc, #9333ea);
    background-size: 300% 300%;
    animation: borderGlow 4s ease infinite;
    opacity: 1;
}

@keyframes borderGlow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.pricing-card.featured:hover {
    transform: scale(1.08) translateY(-10px) !important;
    box-shadow:
        0 30px 80px rgba(147, 51, 234, 0.4),
        0 0 100px rgba(147, 51, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

/* Badge - Premium Style */
.pricing-badge {
    position: absolute !important;
    top: -1rem !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: linear-gradient(135deg, #9333ea, #5E5AFF) !important;
    color: white !important;
    padding: 10px 28px !important;
    border-radius: 30px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    box-shadow: 0 4px 20px rgba(147, 51, 234, 0.5) !important;
    animation: badgePulse 2s ease-in-out infinite !important;
    z-index: 10 !important;
}

@keyframes badgePulse {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(147, 51, 234, 0.5);
    }

    50% {
        box-shadow: 0 4px 35px rgba(147, 51, 234, 0.8);
    }
}

/* Pricing Name - Glowing Title */
.pricing-name {
    font-size: 1.5rem !important;
    font-family: var(--font-display) !important;
    font-weight: 800 !important;
    letter-spacing: 0.2em !important;
    margin-bottom: 1.5rem !important;
    background: linear-gradient(135deg, #fff, #c084fc) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-shadow: none !important;
}

.pricing-card.featured .pricing-name {
    background: linear-gradient(135deg, #fff, #9333ea, #c084fc) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* Price - Super Bold */
.pricing-price {
    margin-bottom: 1.5rem !important;
    position: relative;
}

.price-old {
    display: block;
    font-size: 1rem !important;
    color: #666 !important;
    text-decoration: line-through !important;
    opacity: 0.6;
    margin-bottom: 0.25rem;
}

.price-current {
    font-size: 3.5rem !important;
    font-weight: 900 !important;
    background: linear-gradient(135deg, #fff, #e0e0e0) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    line-height: 1;
    display: block;
}

.pricing-card.featured .price-current {
    font-size: 4rem !important;
    background: linear-gradient(135deg, #fff, #c084fc) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.price-period {
    display: block;
    font-size: 0.85rem;
    color: #8A8A85;
    margin-top: 0.5rem;
}

/* Features List - Clean & Modern */
.pricing-features {
    list-style: none !important;
    padding: 0 !important;
    margin: 2rem 0 !important;
}

.pricing-features li {
    padding: 0.75rem 0 !important;
    padding-left: 2rem !important;
    position: relative;
    color: #e0e0e0 !important;
    font-size: 0.95rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #9333ea;
    font-weight: bold;
    font-size: 1rem;
}

.pricing-card.featured .pricing-features li::before {
    color: #c084fc;
    text-shadow: 0 0 10px rgba(147, 51, 234, 0.5);
}

.pricing-features li:hover {
    padding-left: 2.5rem !important;
    color: #fff !important;
}

/* CTA Button - Premium */
.pricing-card .btn {
    width: 100%;
    padding: 1rem 2rem !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    letter-spacing: 0.05em !important;
    border-radius: 12px !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #9333ea, #5E5AFF) !important;
    border: none !important;
    color: white !important;
    box-shadow: 0 8px 30px rgba(147, 51, 234, 0.4);
}

.pricing-card .btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.pricing-card .btn:hover::after {
    left: 100%;
}

.pricing-card .btn:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 15px 40px rgba(147, 51, 234, 0.6) !important;
}

.pricing-card.featured .btn {
    /* Styles are now shared, keeping specific overrides if any needed later */
    background: linear-gradient(135deg, #9333ea, #5E5AFF) !important;
}

/* Pricing Grid Enhancement */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    padding: 2rem 0;
}

/* Floating decorative elements */
/* Removed excessive decorative element */

/* Responsive */
@media (max-width: 768px) {
    .pricing-card {
        padding: 2rem !important;
    }

    .price-current {
        font-size: 2.5rem !important;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px) !important;
    }
}

/* =====================================================
   SUBSCRIPTION CARDS SPECIAL STYLING
   ===================================================== */

/* Silver tier */
.pricing-card:has(.pricing-name:contains("SILVER")),
.pricing-card .pricing-name[style*="SILVER"] {
    border-color: rgba(192, 192, 192, 0.3) !important;
}

/* Gold tier - warm glow */
.pricing-card.featured {
    --tier-color: #FFD700;
}

/* SILVER/GOLD/PLATINO name colors */
.pricing-name {
    text-transform: uppercase;
}

/* Page header enhancement */
.page-header {
    padding: 8rem 0 4rem !important;
    text-align: center;
    position: relative;
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem) !important;
    font-weight: 800 !important;
    margin-bottom: 1rem !important;
    background: linear-gradient(135deg, #fff, #9333ea, #5E5AFF) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.page-subtitle {
    font-size: 1.1rem !important;
    color: #8A8A85 !important;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Maintenance intro box */
/* Maintenance intro box */
.maintenance-intro {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(20, 20, 35, 0.9)) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 20px !important;
    padding: 2.5rem !important;
    text-align: center;
    margin: 2rem auto;
    max-width: 600px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.maintenance-intro:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.maintenance-intro h3 {
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
    color: #F5F5F0 !important;
}

.maintenance-intro p {
    color: #8A8A85 !important;
    margin-bottom: 1.5rem !important;
    line-height: 1.7;
}

/* =====================================================
   CRITICAL FIX: LANGUAGE SELECTOR VISIBILITY
   ===================================================== */
body .header {
    z-index: 99999 !important;
}

body .header .language-selector {
    position: relative !important;
    z-index: 100002 !important;
    pointer-events: auto !important;
}

body .header .lang-btn {
    pointer-events: auto !important;
    position: relative !important;
    z-index: 100003 !important;
}

body .header .lang-dropdown {
    z-index: 100001 !important;
}

body .header .lang-dropdown.active {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}