/* Luxury Energy Cards - Elementor Widget Styles */

.lec-wrapper * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.lec-wrapper {
    font-family: 'SF Pro Display', -apple-system, 'Helvetica Neue', sans-serif;
    background: var(--black, #000000);
    min-height: 100vh;
    padding: 80px 20px;
    overflow-x: hidden;
    perspective: 1000px;
    position: relative;
}

/* Luxury gradient background */
.lec-luxury-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    background: 
        radial-gradient(ellipse at top left, var(--accent-light, rgba(237, 0, 83, 0.05)) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, var(--accent-light, rgba(237, 0, 83, 0.08)) 0%, transparent 50%),
        linear-gradient(180deg, #000000 0%, #0a0a0a 100%);
}

/* Premium grain texture */
.lec-grain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Animated spotlight */
.lec-spotlight {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--accent-light, rgba(237, 0, 83, 0.15)) 0%, transparent 60%);
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
    animation: lec-spotlight 20s ease-in-out infinite;
}

@keyframes lec-spotlight {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        left: 25%;
        top: 25%;
    }
    25% {
        transform: translate(-50%, -50%) scale(1.2);
        left: 75%;
        top: 25%;
    }
    50% {
        transform: translate(-50%, -50%) scale(0.8);
        left: 75%;
        top: 75%;
    }
    75% {
        transform: translate(-50%, -50%) scale(1.1);
        left: 25%;
        top: 75%;
    }
}

.lec-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

/* Elegant header */
.lec-header {
    text-align: center;
    margin-bottom: 120px;
    position: relative;
    animation: lec-fadeInDown 1s ease-out;
}

@keyframes lec-fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lec-header h1 {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 100;
    letter-spacing: -0.02em;
    margin-bottom: 40px;
    line-height: 1;
    color: #ffffff;
    position: relative;
}

.lec-header h1::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent, #ED0053), transparent);
}

.lec-header .lec-accent-text {
    font-weight: 700;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent, #ED0053) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.lec-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.8;
}

/* 3D Cards Grid */
.lec-cards-3d-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    transform-style: preserve-3d;
    animation: lec-fadeInUp 1s ease-out 0.5s both;
}

@keyframes lec-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lec-card-3d {
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.lec-card-3d:hover {
    transform: rotateY(5deg) rotateX(-5deg) translateZ(20px);
}

.lec-card-3d-inner {
    position: relative;
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.02) 0%, 
        rgba(255, 255, 255, 0.05) 50%,
        var(--accent-light, rgba(237, 0, 83, 0.02)) 100%);
    backdrop-filter: blur(30px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 60px 35px 40px;
    overflow: visible;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
}

/* 3D shadow layer */
.lec-card-3d-inner::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: -10px;
    bottom: -10px;
    background: var(--accent-light, rgba(237, 0, 83, 0.1));
    border-radius: 30px;
    z-index: -1;
    filter: blur(30px);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.lec-card-3d:hover .lec-card-3d-inner::before {
    opacity: 1;
}

/* Luxury number badge */
.lec-luxury-number {
    position: absolute;
    top: 20px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent, #ED0053), var(--accent-glow, rgba(237, 0, 83, 0.7)));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 300;
    color: #ffffff;
    box-shadow: 
        0 10px 30px var(--accent-glow, rgba(237, 0, 83, 0.5)),
        inset 0 -2px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.lec-luxury-number::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: lec-ripple 2s ease-in-out infinite;
}

@keyframes lec-ripple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.lec-card-title {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 25px;
    letter-spacing: -0.02em;
    position: relative;
    padding-bottom: 20px;
}

.lec-card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--accent, #ED0053);
    transition: width 0.4s ease;
}

.lec-card-3d:hover .lec-card-title::after {
    width: 80px;
}

.lec-card-content {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    font-size: 0.95rem;
    font-weight: 300;
    margin-bottom: 25px;
}

.lec-card-content strong {
    color: var(--accent, #ED0053);
    font-weight: 500;
}

/* Premium list style */
.lec-card-content .premium-list,
.premium-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.lec-card-content .premium-list li,
.premium-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    color: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.lec-card-content .premium-list li:last-child,
.premium-list li:last-child {
    border-bottom: none;
}

.lec-card-content .premium-list li::before,
.premium-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 1px;
    background: var(--accent, #ED0053);
    transition: width 0.3s ease;
}

.lec-card-3d:hover .lec-card-content .premium-list li::before,
.lec-card-3d:hover .premium-list li::before {
    width: 25px;
}

.lec-card-content .premium-list li:hover,
.premium-list li:hover {
    padding-left: 35px;
    color: #ffffff;
}

/* Floating elements */
.lec-float-square {
    position: absolute;
    width: 200px;
    height: 200px;
    border: 1px solid var(--accent-light, rgba(237, 0, 83, 0.1));
    transform: rotate(45deg);
    pointer-events: none;
    animation: lec-floatSquare 15s ease-in-out infinite;
}

.lec-float-square:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.lec-float-square:nth-child(2) {
    bottom: 10%;
    right: 10%;
    animation-delay: 7s;
    width: 150px;
    height: 150px;
}

@keyframes lec-floatSquare {
    0%, 100% {
        transform: rotate(45deg) translateY(0);
        opacity: 0.1;
    }
    50% {
        transform: rotate(225deg) translateY(-20px);
        opacity: 0.3;
    }
}

/* CTA Section */
.lec-cta-section {
    text-align: center;
    margin-top: 100px;
    padding: 60px;
    background: linear-gradient(135deg, var(--accent-light, rgba(237, 0, 83, 0.05)) 0%, transparent 100%);
    border-radius: 30px;
    border: 1px solid var(--accent-light, rgba(237, 0, 83, 0.1));
    backdrop-filter: blur(20px);
}

.lec-cta-text {
    font-size: 1.5rem;
    color: #ffffff;
    font-weight: 200;
    margin-bottom: 30px;
}

.lec-cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--accent, #ED0053), var(--accent-glow, rgba(237, 0, 83, 0.8)));
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px var(--accent-glow, rgba(237, 0, 83, 0.3));
}

.lec-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--accent-glow, rgba(237, 0, 83, 0.5));
}

@media (max-width: 1400px) {
    .lec-cards-3d-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .lec-cards-3d-container {
        grid-template-columns: 1fr;
    }
    
    .lec-card-3d:hover {
        transform: none;
    }

    .lec-wrapper {
        padding: 40px 20px;
    }

    .lec-header {
        margin-bottom: 60px;
    }
}

/* Premium scroll animation */
.lec-scroll-reveal {
    opacity: 0;
    animation: lec-reveal 1s ease-out forwards;
}

.lec-scroll-reveal:nth-child(1) { animation-delay: 0.1s; }
.lec-scroll-reveal:nth-child(2) { animation-delay: 0.2s; }
.lec-scroll-reveal:nth-child(3) { animation-delay: 0.3s; }
.lec-scroll-reveal:nth-child(4) { animation-delay: 0.4s; }

@keyframes lec-reveal {
    to {
        opacity: 1;
    }
}
