/* --- VARIABLES Y CONFIGURACIÓN --- */
:root {
    --bg-color: #121212;
    --card-color: #1E1E1E;
    --text-main: #ffffff;
    --text-secondary: #aaaaaa;
    --cleaner-green: #00C853;
    --uninstall-orange: #D84315;
    --accent-blue: #3B8ED0;
    --coffee-gold: #FFD700;
    --border-color: #333;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at 50% 0%, #253b52 0%, #121212 80%);
    background-attachment: fixed;
    color: var(--text-main);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

/* --- HERO SECTION --- */
.company-hero {
    text-align: center;
    padding: 15px 20px 20px 20px; 
    background: rgba(18, 18, 18, 0.7);
    border-bottom: 1px solid #222;
}

.company-hero h1 {
    color: var(--text-main);
    font-size: 1.5rem; 
    margin-top: 15px;
    font-weight: 500;
}

.company-logo-img {
    height: 220px; 
    object-fit: contain;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 20px rgba(59, 142, 208, 0.3));
    animation: float 6s ease-in-out infinite, pulseGlow 4s ease-in-out infinite;
    transition: all 0.3s ease; 
}

.company-logo-img:hover {
    transform: scale(1.05) rotate(1deg);
    filter: drop-shadow(0 0 40px rgba(59, 142, 208, 0.6));
}

@keyframes pulseGlow {
    0%, 100% { filter: drop-shadow(0 0 20px rgba(59, 142, 208, 0.3)); }
    50% { filter: drop-shadow(0 0 50px rgba(59, 142, 208, 0.6)); } 
}

.company-hero p {
    color: var(--text-main);
    font-size: 1.2rem;
    margin-top: 15px; 
    font-weight: 500;
    letter-spacing: 0.5px; 
    background: linear-gradient(to right, #aaa, var(--accent-blue), #fff, var(--accent-blue), #aaa);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 8s linear infinite; 
}

@keyframes shine {
    to { background-position: 200% center; }
}

.hero-socials {
    margin-top: 25px; 
    display: flex; 
    justify-content: center;
}

/* --- PRODUCTOS --- */
.products-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    padding: 20px;
    flex-wrap: wrap;
}

.product-card {
    background-color: var(--card-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 350px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    
    display: flex;
    flex-direction: column;
}

.product-card > div:first-child {
    flex: 1; 
    display: flex;
    flex-direction: column;
}

.product-card p:last-of-type {
    margin-bottom: 20px; 
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.card-cleaner:hover { border-color: var(--cleaner-green); }
.card-uninstaller:hover { border-color: var(--uninstall-orange); }

.product-icon { font-size: 4rem; margin-bottom: 10px; } 
.product-card h2 { font-size: 1.8rem; margin-bottom: 10px; } 
.product-card p { color: var(--text-secondary); margin-bottom: 20px; line-height: 1.6; } 

/* --- BOTONES DE PRODUCTO CORREGIDOS --- */
.btn-product {
    display: flex; /* Esto centra icono y texto mejor que inline-block */
    align-items: center;
    justify-content: center;
    gap: 8px; /* Separación entre el icono y el texto */
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    transition: opacity 0.2s;
    width: 80%;
    margin: 0 auto;
    box-sizing: border-box; /* LA MAGIA: Impide que el padding agrande el botón */
}

.btn-product:hover { opacity: 0.9; }
.btn-cleaner { background-color: var(--cleaner-green); color: black; }
.btn-uninstaller { background-color: var(--uninstall-orange); color: white; }

/* --- FAQ SECTION --- */
.faq-section {
    padding: 60px 20px;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.faq-title {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2rem;
}

.faq-item {
    margin-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
}

.faq-item h3 {
    color: var(--accent-blue);
    margin-bottom: 10px;
}

.faq-item p {
    color: var(--text-secondary);
}

/* --- SUPPORT / COFFEE --- */
.support-section {
    background-color: #1a1a1a;
    text-align: center;
    padding: 60px 20px;
    border-top: 1px solid var(--border-color);
}

.support-section h2 { margin-bottom: 15px; }
.support-section p { 
    color: var(--text-secondary); 
    margin-bottom: 30px; 
    max-width: 600px; 
    margin-left: auto; 
    margin-right: auto; 
}

.btn-coffee {
    background-color: var(--coffee-gold);
    color: #000;
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.2rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-coffee:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    background-color: #ffea00;
}

/* --- FOOTER --- */
footer {
    text-align: center;
    padding: 30px;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    background-color: #0f0f0f;
    font-size: 0.9rem;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: underline;
    margin: 0 10px;
}

/* --- REDES SOCIALES --- */
.social-icon {
    font-size: 1.8rem;
    color: #ffffff;
    transition: all 0.3s ease;
    margin: 0 10px;
}

.social-icon:hover {
    color: var(--accent-blue);
    transform: translateY(-5px) scale(1.1);
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

/* --- LÓGICA DE IDIOMAS (BILINGÜE) --- */
.lang-en { display: none; }
.show-en .lang-es { display: none !important; }
.show-en .lang-en { display: block !important; }
.show-en span.lang-en, .show-en a.lang-en { display: inline-block !important; }
.show-es span.lang-es, .show-es a.lang-es { display: inline-block !important; }

/* --- DISEÑO DEL SELECTOR FLOTANTE --- */
.language-picker {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2000;
    background: rgba(30, 30, 30, 0.6);
    padding: 4px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px); 
    display: flex;
    gap: 2px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.lang-btn {
    background: transparent;
    color: var(--text-secondary);
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    font-weight: bold;
    font-size: 0.8rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    color: var(--text-main);
}

.lang-btn.active {
    color: #fff;
    background: var(--accent-blue); 
    box-shadow: 0 2px 8px rgba(59, 142, 208, 0.4);
}

/* Animación sutil para el botón de descarga principal */
.btn-download-main {
    animation: gentlePulse 3s infinite;
    box-shadow: 0 0 10px rgba(59, 142, 208, 0.4);
}

@keyframes gentlePulse {
    0% { transform: scale(1); box-shadow: 0 0 10px rgba(59, 142, 208, 0.4); }
    50% { transform: scale(1.02); box-shadow: 0 0 20px rgba(59, 142, 208, 0.7); }
    100% { transform: scale(1); box-shadow: 0 0 10px rgba(59, 142, 208, 0.4); }
}

/* --- EFECTOS DE ILUMINACIÓN Y HOVER --- */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-cleaner:hover {
    transform: translateY(-5px); 
    border-color: #31b142; 
    box-shadow: 0 10px 40px rgba(59, 208, 84, 0.3); 
}

.card-uninstaller:hover {
    transform: translateY(-5px);
    border-color: #d34604; 
    box-shadow: 0 10px 40px rgba(235, 77, 4, 0.3); 
}

.btn-product {
    transition: all 0.2s ease-in-out;
    position: relative; 
    overflow: hidden;
}

.btn-product:hover {
    transform: scale(1.02); 
    filter: brightness(1.2); 
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2); 
}

.btn-product:hover i {
    transform: scale(1.1);
    transition: transform 0.2s;
}

/* =========================================
   ADAPTACIÓN PARA MÓVILES (iPhone / Android)
   ========================================= */
@media screen and (max-width: 768px) {
    
    .products-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 15px;
    }

    .product-card {
        width: 100%;
        max-width: 350px; 
        margin: 0 auto;
        box-sizing: border-box;
    }

    .company-hero {
        padding: 40px 15px;
    }
    
    .hero-title {
        font-size: 1.8rem; 
        line-height: 1.2;
    }

    .faq-section, .support-section {
        padding: 30px 15px;
    }

    .btn-product {
        width: 100%; /* Ahora sí ocupará el 100% real sin salirse por culpa del padding */
    }
}