/* ===== REFACCIONES AUTOMOTRICES LANDING PAGE STYLES ===== */
body {
    overflow-x: hidden!important;
}
.header-top .container {
    width: 90%!important;
}
#content {
    padding: 0!important;
}

#wrapper {
    padding-top: 0px!important;
    background-color: #FFF!important;
}

.refacciones-landing {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
}

.breadcrumb {
    display: none!important;
}

.cms-page-content {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    position: relative;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #fff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Animated background particles */
.hero .particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 150, 255, 0.6);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Hero Section */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: radial-gradient(ellipse at center, rgba(0,150,255,0.15) 0%, transparent 70%);
    padding: 2rem 0;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    padding: 2rem;
    animation: slideInUp 1s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #00d4ff, #0096ff, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    }
    to {
        text-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
    }
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #00d4ff, #0096ff);
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 150, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    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;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 150, 255, 0.4);
    text-decoration: none;
    color: white;
}

/* Brands Section */
.brands {
    padding: 5rem 0;
    padding-top: 0px!important;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    padding: 0 2rem;
    margin-top: 50px;
}

.brand-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.brand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 150, 255, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.brand-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 150, 255, 0.2);
    border-color: rgba(0, 212, 255, 0.3);
}

.brand-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(45deg, #00d4ff, #0096ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: white;
    position: relative;
    z-index: 2;
    padding: 0;
    overflow: hidden;
}

.brand-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.brand-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem!important;
    color: #00d4ff;
    position: relative;
    z-index: 2;
}

.brand-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    min-height: 100px;
}

.download-btn {
    background: transparent;
    color: #00d4ff;
    padding: 0.8rem 1.5rem;
    border: 2px solid #00d4ff;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    z-index: 2;
    box-shadow: none;
    font-size: 13px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.25);
    background: #00d4ff;
    text-decoration: none;
    color: #1a1a2e;
}

/* Features Section */
.features {
    padding: 5rem 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    position: relative;
    z-index: 2;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card h3 {
    margin-bottom: 10px!important;
    line-height: 24px!important;
    min-height: 50px;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(45deg, #00d4ff, #0096ff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

#context {
    margin-top: 60px;
    margin-bottom: 70px;
}

.context-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.context-container p {
    color: #FFF;
    font-size: 0.9375rem;
}

/* Footer Section */
.refacciones-footer {
    background: rgba(0, 0, 0, 0.8);
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
}

.footer-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Loading animation */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0a0a0a, #1a1a2e);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 212, 255, 0.3);
    border-top: 3px solid #00d4ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.contact-container p {
    color: #FFF;
    font-size: 1.5rem;
    margin-bottom: 30px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 80vh;
        padding: 1rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .brands-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .brands {
        padding: 3rem 0;
    }
    
    .features {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .brand-card {
        padding: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
}

/* Mejoras de accesibilidad */
.cta-button:focus,
.download-btn:focus {
    outline: 2px solid #00d4ff;
    outline-offset: 2px;
}

.brand-card:focus-within {
    outline: 2px solid #00d4ff;
    outline-offset: 2px;
}

/* Optimización para impresión */
@media print {
    .loading,
    .particles {
        display: none;
    }
    
    .hero,
    .brands,
    .features {
        background: white !important;
        color: black !important;
    }
}

/* Override para estilos de Prestashop si es necesario */
.cms-page-content * {
    box-sizing: border-box;
}

.cms-page-content a {
    color: inherit;
    text-decoration: none;
}

.cms-page-content h1,
.cms-page-content h2,
.cms-page-content h3 {
    margin: 0;
    padding: 0;
}
.cms-page-content h1 {
    margin-bottom: 30px;
}

/* Contacto Inventario Adicional */
.contact-inventory {
    padding: 3rem 0;
    text-align: center;
}

.contact-inventory .hero-content p {
    color: #ffffff;
}