/**
 * Premium Luxury Enhancement Styles
 * Global luxury styles for all pages
 */

/* Premium Card Base */
.premium-card,
.financing-option,
.value-card,
.stat-card,
.team-member {
    background:
        linear-gradient(135deg, rgba(79, 195, 247, 0.04) 0%, rgba(0, 0, 0, 0.3) 100%),
        rgba(255, 255, 255, 0.02) !important;
    backdrop-filter: blur(40px) !important;
    border: 1px solid transparent !important;
    background-clip: padding-box !important;
    border-radius: 32px !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
}

.premium-card::before,
.financing-option::before,
.value-card::before,
.stat-card::before,
.team-member::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 32px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(79, 195, 247, 0.5), rgba(0, 229, 255, 0.2), rgba(79, 195, 247, 0.4));
    -webkit-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.6;
    transition: opacity 0.5s;
}

.premium-card:hover,
.financing-option:hover,
.value-card:hover,
.stat-card:hover,
.team-member:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow:
        0 40px 100px rgba(0, 0, 0, 0.7),
        0 0 80px rgba(79, 195, 247, 0.4),
        0 0 0 1px rgba(79, 195, 247, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15) !important;
}

.premium-card:hover::before,
.financing-option:hover::before,
.value-card:hover::before,
.stat-card:hover::before,
.team-member:hover::before {
    opacity: 1;
}

/* Premium Icons */
.premium-icon {
    width: 80px;
    height: 80px;
    background:
        linear-gradient(135deg, rgba(79, 195, 247, 0.25) 0%, rgba(0, 229, 255, 0.15) 100%),
        rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(79, 195, 247, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--ambient-cyan);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 32px rgba(79, 195, 247, 0.3),
        inset 0 2px 8px rgba(79, 195, 247, 0.1);
    position: relative;
}

.premium-icon::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, var(--ambient-cyan), rgba(0, 229, 255, 0.5), var(--ambient-cyan));
    opacity: 0;
    transition: opacity 0.5s;
    z-index: -1;
    animation: rotate 4s linear infinite;
}

.premium-card:hover .premium-icon,
.financing-option:hover .premium-icon,
.value-card:hover .premium-icon,
.stat-card:hover .premium-icon,
.team-member:hover .premium-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow:
        0 16px 48px rgba(79, 195, 247, 0.5),
        inset 0 4px 16px rgba(79, 195, 247, 0.2);
    border-color: var(--ambient-cyan);
}

.premium-card:hover .premium-icon::before,
.financing-option:hover .premium-icon::before,
.value-card:hover .premium-icon::before,
.stat-card:hover .premium-icon::before,
.team-member:hover .premium-icon::before {
    opacity: 0.4;
}

/* Premium Titles */
.premium-title,
.section-title {
    background: linear-gradient(135deg, #FFFFFF 0%, #B3E5FC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Premium Buttons */
.btn-premium,
.btn-primary {
    background: linear-gradient(135deg, var(--ambient-cyan) 0%, rgba(0, 229, 255, 0.8) 100%);
    border: 2px solid var(--ambient-cyan);
    color: var(--leather-black);
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(79, 195, 247, 0.3);
}

.btn-premium::before,
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

.btn-premium:hover,
.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow:
        0 16px 48px rgba(79, 195, 247, 0.5),
        0 0 0 4px rgba(79, 195, 247, 0.2);
}

.btn-premium:hover::before,
.btn-primary:hover::before {
    opacity: 1;
}

/* Premium Inputs */
.premium-input,
input[type="range"] {
    background:
        linear-gradient(135deg, rgba(79, 195, 247, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%),
        rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(79, 195, 247, 0.2);
    border-radius: 16px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.premium-input:focus,
input[type="range"]:focus {
    border-color: var(--ambient-cyan);
    box-shadow:
        0 0 0 4px rgba(79, 195, 247, 0.1),
        0 8px 24px rgba(79, 195, 247, 0.2);
    transform: translateY(-2px);
}

/* Animations */
@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(79, 195, 247, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(79, 195, 247, 0.6);
    }
}

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

/* Apply float animation to specific elements */
.floating {
    animation: float 6s ease-in-out infinite;
}

/* Premium Stats */
.stat-number {
    background: linear-gradient(135deg, var(--ambient-cyan) 0%, #FFD700 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}
