/* ========================================
   MLC - PREMIUM UI ENHANCEMENTS
   Competition-winning design layer
   ======================================== */

/* ========================================
   1. HERO - Animated Gradient & Particles
   ======================================== */
.hero-bg-pattern {
    background: linear-gradient(135deg, #0f1729 0%, #1a2a4a 40%, #0f1729 100%);
    background-size: 400% 400%;
    animation: hero-gradient 15s ease infinite;
}

@keyframes hero-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-grid-overlay {
    animation: particle-drift 25s linear infinite;
    opacity: 0.5;
}

@keyframes particle-drift {
    0% { transform: translateY(0); }
    100% { transform: translateY(30px); }
}

.hero-text h1 {
    animation: text-reveal 0.9s ease-out 0.2s both;
}

.hero-text p {
    animation: text-reveal 0.9s ease-out 0.4s both;
}

.hero-buttons {
    animation: text-reveal 0.9s ease-out 0.6s both;
}

.hero-trust {
    animation: text-reveal 0.9s ease-out 0.8s both;
}

@keyframes text-reveal {
    from { opacity: 0; transform: translateY(25px); filter: blur(6px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero-badge {
    animation: badge-glow 3s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(197, 160, 40, 0.15);
}

.hero-badge i {
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes badge-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(197, 160, 40, 0.1); }
    50% { box-shadow: 0 0 35px rgba(197, 160, 40, 0.25); }
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.4; }
}

.hero-float-card {
    backdrop-filter: blur(20px) saturate(150%);
    border: 1.5px solid rgba(255,255,255,0.15);
    box-shadow: 0 8px 32px rgba(0,0,0,0.15), inset 0 1px 1px rgba(255,255,255,0.1);
}

.hero-image-wrapper::before {
    border: 1.5px solid rgba(197, 160, 40, 0.2) !important;
}

/* ========================================
   2. CARDS - Gradient Borders & Glow
   ======================================== */
.value-card {
    border: 1.5px solid rgba(0,0,0,0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.08), 0 0 0 1.5px rgba(197,160,40,0.15);
    border-color: transparent;
}

.value-card::before {
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--blue), var(--gold));
    background-size: 300% 300%;
    animation: gradient-rotate 4s ease infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.value-card:hover::before {
    opacity: 1;
}

@keyframes gradient-rotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.value-card .icon {
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transition: all 0.4s ease;
}

.value-card:hover .icon {
    transform: scale(1.15) rotate(-3deg);
    box-shadow: 0 12px 35px rgba(197, 160, 40, 0.3);
}

/* Service cards */
.service-card {
    border: 1.5px solid rgba(0,0,0,0.04);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.1);
    border-color: rgba(197,160,40,0.12);
}

.service-card-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.12) 100%);
}

/* ========================================
   3. SECTION HEADERS - Premium Typography
   ======================================== */
.section-header h2 {
    font-size: 2.8rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.section-header h2 span {
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item h3 {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   4. CTA - Animated Mesh Background
   ======================================== */
.cta-section {
    background: linear-gradient(135deg, #0f1729 0%, #1a2a4a 50%, #0f1729 100%);
    background-size: 400% 400%;
    animation: cta-gradient 10s ease infinite;
}

.cta-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(197,160,40,0.06) 1px, transparent 1px);
    background-size: 30px 30px;
    animation: mesh-drift 20s linear infinite;
    pointer-events: none;
}

@keyframes cta-gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes mesh-drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(30px, 30px); }
}

.cta-section h2 {
    font-size: 2.8rem;
    background: linear-gradient(135deg, var(--white) 0%, var(--gold-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   5. PAGE HEADER - Gradient & Particles
   ======================================== */
.page-header {
    background: linear-gradient(180deg, #0f1729 0%, #1a2a45 100%);
}

.page-header::before {
    background-image:
        radial-gradient(circle at 50% -30%, rgba(197, 160, 40, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(30, 136, 229, 0.08) 0%, transparent 50%),
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 60px 60px, 60px 60px;
    animation: header-mesh 30s linear infinite;
}

@keyframes header-mesh {
    0% { background-position: 0 0, 0 0, 0 0, 0 0; }
    100% { background-position: 0 0, 0 0, 60px 60px, 60px 60px; }
}

.page-header h1 {
    background: linear-gradient(135deg, var(--white), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   6. FOOTER - Gradient Border & Polish
   ======================================== */
.footer {
    background: linear-gradient(180deg, var(--dark) 0%, #080c14 100%);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--blue), var(--purple), var(--gold));
    background-size: 300% 100%;
    animation: footer-gradient 4s ease infinite;
}

@keyframes footer-gradient {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.footer-social a {
    border: 1.5px solid rgba(255,255,255,0.08);
    border-radius: 12px;
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    box-shadow: 0 8px 24px rgba(197, 160, 40, 0.3), 0 0 15px rgba(197, 160, 40, 0.15);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.footer-col h4::after {
    background: linear-gradient(90deg, var(--gold), var(--gold-light)) !important;
    width: 35px !important;
    height: 3px !important;
}

/* ========================================
   7. BUTTONS - Ripple & Glow
   ======================================== */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.btn:active::after {
    animation: btn-ripple 0.6s ease-out;
}

@keyframes btn-ripple {
    to { width: 300px; height: 300px; opacity: 0; }
}

.btn-primary {
    border: 1px solid rgba(255,255,255,0.15);
}

.btn-primary:hover {
    box-shadow: 0 12px 40px rgba(197, 160, 40, 0.35), 0 0 20px rgba(197, 160, 40, 0.15);
    transform: translateY(-3px);
}

.btn-outline:hover {
    box-shadow: 0 8px 24px rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
    transform: translateY(-3px);
}

/* ========================================
   8. TESTIMONIALS - Premium Glass
   ======================================== */
.testimonial-card {
    border: 1.5px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(5px);
}

.testimonial-card:hover {
    border-color: rgba(197,160,40,0.25);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2), inset 0 1px 1px rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.08);
}

.testimonial-stars {
    filter: drop-shadow(0 0 6px rgba(197,160,40,0.4));
}

/* ========================================
   9. STATS - Enhanced Container
   ======================================== */
.stats-container {
    border: 1px solid rgba(0,0,0,0.04);
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(255,255,255,0.95));
}

/* ========================================
   10. FORMS - Premium Polish
   ======================================== */
.contact-form-wrapper::before {
    background: linear-gradient(90deg, var(--gold), var(--blue), var(--purple), var(--gold)) !important;
    background-size: 300% 100% !important;
    animation: form-gradient 4s ease infinite !important;
}

@keyframes form-gradient {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 100% center; }
}

.form-header .form-icon {
    box-shadow: 0 8px 24px rgba(197,160,40,0.15);
}

/* ========================================
   11. CONTACT ITEMS - Micro-interactions
   ======================================== */
.contact-item:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 16px rgba(197, 160, 40, 0.12);
}

.benefit-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(197, 160, 40, 0.08);
}

/* ========================================
   12. GALLERY - Enhanced Hover
   ======================================== */
.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.gallery-item:hover .gallery-link img,
.gallery-item:hover .gallery-link video {
    transform: scale(1.1);
}

/* ========================================
   13. WHATSAPP & BACK-TO-TOP - Polish
   ======================================== */
.whatsapp-float {
    background: linear-gradient(135deg, #25D366, #20BA5F);
    border: 2px solid rgba(255,255,255,0.25);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.35), 0 0 15px rgba(37, 211, 102, 0.15);
}

.whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.45), 0 0 25px rgba(37, 211, 102, 0.2);
}

.back-to-top {
    border: 1.5px solid rgba(255,255,255,0.08);
    background: linear-gradient(135deg, var(--dark), var(--dark-light));
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    box-shadow: 0 8px 25px rgba(197, 160, 40, 0.3);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-4px);
}

/* ========================================
   14. MV CARDS & STEP CARDS - Polish
   ======================================== */
.mv-card {
    border-left: 5px solid transparent;
    border-image: linear-gradient(180deg, var(--gold-light), var(--gold)) 1;
}

.mv-card:hover {
    transform: translateY(-5px) translateX(3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.step-card:hover {
    border-color: var(--gold-light);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.step-number {
    box-shadow: 0 8px 20px rgba(197,160,40,0.3);
}

/* ========================================
   15. SCROLL ANIMATIONS - Smoother
   ======================================== */
[data-aos] {
    transition-timing-function: cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

/* ========================================
   16. ADHESION BENEFITS - Glass Effect
   ======================================== */
.adhesion-benefits {
    border: 1.5px solid rgba(0,0,0,0.04);
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(248,249,250,0.95));
}

/* ========================================
   17. PRELOADER - Smoother
   ======================================== */
.preloader {
    background: linear-gradient(135deg, #0f1729, #1a2340);
}

.preloader-inner img {
    filter: drop-shadow(0 0 20px rgba(197,160,40,0.3));
}

/* ========================================
   18. NAVBAR PREMIUM - Glass Enhancement
   ======================================== */
.navbar .nav-inner {
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 30px rgba(0,0,0,0.1);
}

.navbar.scrolled .nav-inner {
    box-shadow: 0 4px 30px rgba(0,0,0,0.06), 0 1px 0 rgba(197,160,40,0.1);
}

.nav-link.active::after {
    box-shadow: 0 0 8px rgba(197,160,40,0.4);
}

/* ========================================
   RESPONSIVE FIXES FOR PREMIUM
   ======================================== */
@media (max-width: 768px) {
    .section-header h2 { font-size: 1.85rem; }
    .cta-section h2 { font-size: 1.7rem; }
    .stat-item h3 { font-size: 2rem; }
    .cta-section::after { display: none; }
}

@media (max-width: 480px) {
    .section-header h2 { font-size: 1.5rem; }
    .cta-section h2 { font-size: 1.5rem; }
    .stat-item h3 { font-size: 1.7rem; }
}
