/* 
   ARBOTICS - CSS Principal
   Diseño Premium en Modo Oscuro con Glassmorphism y Micro-animaciones.
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* Paleta de Colores */
    --bg-primary: #0a0c10;
    --bg-secondary: #121620;
    --bg-tertiary: #1b2130;
    --accent-cyan: #00d2ff;
    --accent-blue: #0070f3;
    --accent-purple: #7928ca;
    --accent-green: #00ff87;
    --text-primary: #f5f7fa;
    --text-secondary: #9aa5b5;
    --text-muted: #626f80;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 210, 255, 0.2);
    --glass-bg: rgba(18, 22, 32, 0.7);
    --glass-border: rgba(255, 255, 255, 0.05);
    
    /* Tipografía */
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transiciones */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.7);
    --shadow-glow: 0 0 20px rgba(0, 210, 255, 0.15);
}

/* Reset de Estilos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Decoración de Fondo */
body::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
    top: -200px;
    right: -100px;
    z-index: -1;
    pointer-events: none;
}

body::after {
    content: '';
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(121, 40, 202, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    bottom: 10%;
    left: -200px;
    z-index: -1;
    pointer-events: none;
}

/* Tipografía Global */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Barra de Navegación */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
   /* background: var(--glass-bg); */
    background: #000000;
    /*backdrop-filter: blur(12px); 
    -webkit-backdrop-filter: blur(12px); 
    border-bottom: 1px solid var(--glass-border); */
    border-bottom: 1px solid #222222; 
    transition: var(--transition-normal);
}

.header-scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-md);
   /* background: rgba(10, 12, 16, 0.9); */
    background: #000000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    background: linear-gradient(135deg, #fff 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-img {
    height: 100px;
    width: auto;
    /* filter: drop-shadow(0 0 8px rgba(0, 210, 255, 0.5)); */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-item a {
    font-family: var(--font-headings);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 5px 0;
}

.nav-item a:hover,
.nav-item.active a {
    color: var(--text-primary);
    text-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
    transition: var(--transition-normal);
}

.nav-item a:hover::after,
.nav-item.active a::after {
    width: 100%;
}

.nav-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.language-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(18, 22, 32, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
    border-radius: 16px;
    padding: 10px 8px;
    display: none;
    z-index: 1100;
    min-width: 160px;
}

.language-menu.show {
    display: block;
}

.language-menu button {
    width: 100%;
    border: none;
    background: transparent;
    color: var(--text-primary);
    text-align: left;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.language-menu button:hover {
        background: rgba(0, 210, 255, 0.08);
    }

    .language-menu button.active {
        color: var(--accent-cyan);
    }
    color: var(--bg-primary);
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 8px var(--accent-cyan);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: #000000 !important;
    border: none !important;
    outline: none !important;
    cursor: pointer;
    padding: 8px;
    color: var(--text-primary);
    font-size: 1.3rem;
    transition: var(--transition-normal);
}

.menu-toggle i {
    background: #000000 !important;
    color: var(--text-primary);
}

.menu-toggle:hover,
.menu-toggle:hover i {
    color: var(--accent-cyan);
}

.menu-toggle.active i {
    color: var(--accent-cyan);
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-normal);
}

/* Footer */
footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 60px 20px 20px 20px;
    margin-top: 80px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
        grid-template-columns: minmax(240px, 1.5fr) repeat(3, minmax(170px, 1fr));
        gap: 32px;
        margin-bottom: 40px;
        align-items: start;
    }

    .footer-info .logo-container {
        margin-bottom: 18px;
    }

    .footer-info p {
        color: var(--text-secondary);
        font-size: 0.95rem;
        max-width: 360px;
        line-height: 1.85;
    }

    .footer-socials {
        display: flex;
        gap: 14px;
        margin-top: 22px;
    }

    .footer-info .logo-container a {
        gap: 12px;
    }

    .footer-section {
        min-width: 0;
    }

    .footer-section h4 {
        color: var(--text-primary);
    }

    .footer-bottom {
        max-width: 1200px;
        margin: 0 auto;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: var(--text-muted);
        font-size: 0.85rem;
        flex-wrap: wrap;
        gap: 15px;
    }

    .footer-bottom-links {
        display: flex;
        align-items: center;
        gap: 18px;
        flex-wrap: wrap;
    }

    .footer-bottom-links a {
        color: var(--text-muted);
        font-size: 0.85rem;
        transition: color var(--transition-fast);
    }

    .footer-bottom-links a:hover {
        color: var(--accent-cyan);
    }

    .footer-section h4 {
        margin-bottom: 20px;
        font-size: 1rem;
        position: relative;
        padding-bottom: 8px;
    }

    .footer-contact-list li i {
        min-width: 20px;
        text-align: center;
    }

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-list li i {
    color: var(--accent-cyan);
}

.footer-section h4 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    position: relative;
    padding-bottom: 8px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--accent-cyan);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-cyan);
    padding-left: 5px;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact-list li i {
    color: var(--accent-cyan);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    flex-wrap: wrap;
    gap: 15px;
}

/* Botones Comunes */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 8px;
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition-normal);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-blue) 100%);
    color: #000;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.25);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 210, 255, 0.4);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: var(--text-secondary);
}

.btn-outline {
    background: transparent;
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
}

.btn-outline:hover {
    background: rgba(0, 210, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

/* Tarjetas Comunes (Glassmorphism) */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    transition: var(--transition-normal);
}

.glass-card:hover {
    border-color: rgba(0, 210, 255, 0.3);
    box-shadow: var(--shadow-glow);
    transform: translateY(-5px);
}

/* Formulario Común */
.form-group {
    margin-bottom: 14px;
}

.form-group label {
    display: block;
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--text-secondary);
}

.form-control {
    width: 100%;
    padding: 9px 12px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--accent-cyan);
    outline: none;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.15);
    background-color: rgba(255, 255, 255, 0.05);
}

textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

.form-control.dark-select {
    background-color: #07090d;
    color: #f5f7fa;
    border-color: rgba(255, 255, 255, 0.14);
}

.form-control.dark-select option {
    background-color: #07090d;
    color: #f5f7fa;
}

.important-text-section {
    padding: 50px 20px 60px;
    display: flex;
    justify-content: center;
}

.important-text-box {
    max-width: 1100px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 34px 34px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 0.74rem;
}

.important-text-box p {
    margin-bottom: 18px;
}

/* Sección de Encabezado de Página (Hero simple) */
.page-header {
    padding: 150px 20px 40px 20px;
    padding-bottom: 0px !important; /* Elimina cualquier espacio interno de abajo */
    margin-bottom: 0px !important;
    text-align: center;
    background: radial-gradient(circle at center, rgba(121, 40, 202, 0.05) 0%, rgba(10, 12, 16, 0) 60%);
}

.page-header h1 {
    font-size: 2rem;
    /*margin-bottom: 10px;*/
    margin-bottom: 0px !important;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* --- ESTILOS DE LA PÁGINA DE INICIO --- */

/* Hero Banner */
.hero-section {
    padding: 120px 20px 80px 20px;
    min-height: 72vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-section .hero-content {
    max-width: 820px;
    padding-top: 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../assets/phoenix_ia.png') center/cover no-repeat;
    filter: brightness(0.48) saturate(1.1);
    opacity: 0.32;
    z-index: 0;
}

.hero-bg-code {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    font-family: monospace;
    font-size: 0.85rem;
    color: var(--accent-cyan);
    white-space: pre;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
    padding: 20px;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-quote-box {
    margin-bottom: 30px;
    font-family: var(--font-headings);
    font-size: 1.2rem;
    color: var(--accent-cyan);
    font-weight: 500;
    letter-spacing: 0.05em;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 30px;
    background: rgba(0, 210, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.15);
}

.hero-section h1 {
    font-size: 4rem;
    line-height: 1.15;
    margin-bottom: 25px;
    letter-spacing: -0.03em;
    background: linear-gradient(to right, #fff 20%, var(--accent-cyan) 60%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.hero-content {
    padding-top: 0;
}

.hero-poem-box {
        max-width: 700px;
        margin: 0 auto 28px;
        padding: 32px 36px;
        border: 1px solid rgba(255, 255, 255, 0.14);
        background: rgba(255, 255, 255, 0.05);
        border-radius: 32px;
        box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
        text-align: center;
        backdrop-filter: blur(14px);
        
    }

    .hero-poem-box p {
        font-family: var(--font-headings);
        font-size: clamp(1.95rem, 3vw, 2.4rem);
        line-height: 1.18;
    margin: 0;
    color: #7daeb3
}

.hero-poem-author {
    display: block;
    margin-top: 18px;
    font-size: 1rem;
    letter-spacing: 0.15em;
    color: whitesmoke;
}

/* Animación del texto del poema */
@keyframes poemFadeInSlide {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.poem-animated-text {
    animation: poemFadeInSlide 1.2s ease-out 0.3s backwards !important;
}

/* Sección de Ofertas de la Semana */
.offers-section {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.section-title-container {
    text-align: center;
    margin-bottom: 24px;
}

.section-tag {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    color: var(--accent-cyan);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 2.25rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    bottom: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

.products-slider-wrapper {
    position: relative;
    margin-top: 40px;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Tarjeta de Producto */
.product-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}

.product-img-box {
    position: relative;
    width: 100%;
    padding-bottom: 90%;
    background-color: #161b26;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.product-card:hover .product-img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-cyan);
    color: #000;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 10;
}

.product-fav-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(10, 12, 16, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 10;
}

.product-fav-btn:hover {
    background: #fff;
    color: #e0245e;
    border-color: #fff;
}

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 6px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.product-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--text-primary);
    line-height: 1.4;
    min-height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price-box {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    margin-bottom: 15px;
}

.product-price {
    font-size: 1.35rem;
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--text-primary);
}

.product-price-old {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-btn-add {
    width: 100%;
    padding: 10px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    font-family: var(--font-headings);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.product-btn-add:hover {
    background: var(--accent-cyan);
    color: #000;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.2);
}

/* Sección de Características */
.features-section {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 80px 20px;
}

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

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    text-align: center;
    padding: 40px 25px;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-cyan);
    box-shadow: var(--shadow-glow);
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(0, 210, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.15);
    color: var(--accent-cyan);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    margin: 0 auto 20px auto;
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon-box {
    background: var(--accent-cyan);
    color: #000;
    transform: rotate(360deg);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Sección de Cuadrícula "Nuestra Misión / Diferencia" */
.about-grid-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.about-card {
    display: flex;
    align-items: center;
    gap: 25px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition-normal);
}

.about-card:hover {
    border-color: var(--accent-purple);
    transform: translateY(-3px);
}

.about-card-img-box {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 2px solid var(--border-color);
}

.about-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-card-info h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.about-card-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Sección de Testimonios */
.testimonials-section {
    background-color: var(--bg-secondary);
    padding: 80px 20px;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.testimonials-container {
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-slider-box {
    margin-top: 50px;
    position: relative;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
}

.testimonials-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
    min-width: 100%;
    padding: 20px;
}

.testimonial-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    position: relative;
}

.testimonial-stars {
    color: #ffc107;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 30px;
    line-height: 1.7;
}

.testimonial-user {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.testimonial-flag {
    width: 24px;
    height: auto;
    border-radius: 2px;
}

.testimonial-name {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 1rem;
    color: var(--accent-cyan);
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.testimonial-control-btn {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.testimonial-control-btn:hover {
    background: var(--accent-cyan);
    color: #000;
    border-color: var(--accent-cyan);
}

/* Formulario Testimonio */
.testimonial-form-box {
    max-width: 650px;
    margin: 40px auto 0 auto;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px 30px;
}

.testimonial-form-box h3 {
    text-align: center;
    margin-bottom: 16px;
    font-size: 1.2rem;
}

/* Estadísticas del sitio */
.stats-and-description-section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(320px, 1.4fr) minmax(300px, 1fr);
    gap: 40px;
    align-items: start;
}

.stats-section {
    padding: 0;
    margin: 0;
    background: transparent;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 24px;
    text-align: center;
}

.stat-item {
    padding: 28px 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.03);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 180px;
}

.stat-number {
    font-family: var(--font-headings);
    font-size: clamp(2.3rem, 3.3vw, 3.6rem);
    font-weight: 900;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-family: var(--font-headings);
    text-transform: uppercase;
    font-size: 0.88rem;
    color: var(--text-secondary);
    letter-spacing: 0.14em;
    font-weight: 700;
}

.stat-wide {
    grid-column: 1 / -1;
    padding: 28px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    min-height: 160px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

.stat-wide .stat-number {
    font-size: clamp(2rem, 2.8vw, 2.8rem);
    margin-bottom: 8px;
}

.stat-wide .stat-number.infinity-symbol {
    font-size: clamp(2.2rem, 3.08vw, 3.08rem);
}

.stat-wide .stat-label {
    font-size: 0.96rem;
    letter-spacing: 0.18em;
}

.stat-note {
    margin-top: 10px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}


.important-text-box {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 32px;
    padding: 34px 34px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
    color: var(--text-secondary);
    line-height: 1.75;
    font-size: 0.88rem;
    letter-spacing: 0.004em;
}

.important-text-box p {
    margin-bottom: 18px;
}


@media (min-width: 1024px) {
    .important-text-box {
        font-size: 1.05rem;
    }
}


@media (max-width: 960px) {
    .stats-and-description-section {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    }
}

@media (max-width: 640px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    .important-text-box {
        padding: 28px 22px;
    }
}
}

/* --- ESTILOS DE LA PÁGINA DE TIENDA --- */

.store-container {
    max-width: 1200px;
    margin: 40px auto 80px auto;
    padding: 0 20px;
}

.store-toolbar-top {
    display: grid;
    grid-template-columns: minmax(280px, 1.5fr) 220px 220px;
    gap: 18px;
    align-items: flex-end;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 18px;
}

.store-toolbar-top label {
    display: block;
    font-family: var(--font-headings);
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.store-search-bar,
.store-sort-bar,
.store-category-bar {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.store-sort-bar select,
.store-category-bar select {
    width: 100%;
}

.store-toolbar-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 20px;
}

.store-toolbar-bottom button {
    white-space: nowrap;
}

.filters-sidebar {
    display: none;
}

.filter-section-sidebar {
    margin-bottom: 30px;
}

.filter-section-sidebar:last-child {
    margin-bottom: 0;
}

.filter-title {
    font-family: var(--font-headings);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.filter-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-checkbox-item {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.filter-checkbox-item input {
    width: 16px;
    height: 16px;
    accent-color: var(--accent-cyan);
    cursor: pointer;
}

.filter-search-box {
    position: relative;
}

.filter-search-input {
    width: 100%;
    padding: 10px 12px 10px 35px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: #fff;
    font-size: 0.9rem;
}

.filter-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

/* Catálogo */
.store-catalog {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.store-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 20px;
}

.products-count {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.sort-select {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 6px;
    font-family: var(--font-headings);
    font-size: 0.9rem;
    outline: none;
    cursor: pointer;
}

/* --- ESTILOS DE LA PÁGINA DE DESCARGAS --- */

.downloads-container {
    max-width: 1200px;
    margin: 40px auto 80px auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.download-software-card {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 50px;
    align-items: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px;
    overflow: hidden;
    position: relative;
}

.download-software-card:nth-child(even) {
    grid-template-columns: 1fr 1.1fr;
}

.download-software-card:nth-child(even) .software-img-wrapper {
    order: 2;
}

.download-software-card:nth-child(even) .software-info-wrapper {
    order: 1;
}

.software-img-wrapper {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-md);
    position: relative;
    aspect-ratio: 16/10;
}

.software-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.download-software-card:hover .software-img {
    transform: scale(1.03);
}

.software-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.software-title {
    font-size: 2.2rem;
    color: var(--text-primary);
}

.software-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
}

.software-features-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.software-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.software-features-list li i {
    color: var(--accent-cyan);
}

.software-license-badge {
    align-self: start;
    font-family: var(--font-headings);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 4px;
}

.license-free {
    background: rgba(0, 255, 135, 0.1);
    color: var(--accent-green);
    border: 1px solid rgba(0, 255, 135, 0.2);
}

.license-paid {
    background: rgba(121, 40, 202, 0.1);
    color: #a151f8;
    border: 1px solid rgba(121, 40, 202, 0.2);
}

.software-btns {
    display: flex;
    gap: 15px;
    margin-top: 10px;
    flex-wrap: wrap;
}

/* Sección de Validación de Serial */
.serial-validation-section {
    background: radial-gradient(circle at center, rgba(0, 210, 255, 0.05) 0%, rgba(10, 12, 16, 0) 70%);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.serial-validation-box {
    max-width: 500px;
    margin: 30px auto 0 auto;
}

.serial-status-msg {
    margin-top: 15px;
    font-weight: 600;
    font-size: 0.95rem;
    min-height: 24px;
}

/* --- ESTILOS DE LA PÁGINA DE CONTACTO --- */

.contact-container {
    max-width: 1200px;
    margin: 40px auto 80px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info-panel {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-details-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
}

.contact-details-card h3 {
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.contact-details-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-detail-item {
    display: flex;
    gap: 15px;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(0, 210, 255, 0.05);
    border: 1px solid rgba(0, 210, 255, 0.15);
    color: var(--accent-cyan);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-detail-text h4 {
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: var(--text-secondary);
}

.contact-detail-text p {
    color: var(--text-primary);
    font-size: 1rem;
}

.contact-map-mock {
    height: 250px;
    background-color: #161b26;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-placeholder-text {
    color: var(--text-muted);
    font-family: var(--font-headings);
    font-weight: 500;
}

.map-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.05) 0%, rgba(10, 12, 16, 0.8) 100%);
    pointer-events: none;
}

/* --- ESTILOS DE LA PÁGINA DE LOGIN --- */

.auth-container {
    max-width: 900px;
    margin: 40px auto 80px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
}

.auth-panel {
    padding: 50px 40px;
}

.auth-panel:first-child {
    border-right: 1px solid var(--border-color);
}

.auth-panel h2 {
    margin-bottom: 25px;
    font-size: 1.8rem;
    text-align: center;
}

/* --- ESTILOS DE LA PÁGINA DE CARRITO Y CHECKOUT --- */

.cart-page-container {
    max-width: 1200px;
    margin: 40px auto 80px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
}

.cart-items-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-empty-msg {
    text-align: center;
    padding: 50px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

.cart-empty-msg i {
    font-size: 3.5rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.cart-empty-msg h3 {
    margin-bottom: 10px;
}

.cart-empty-msg p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.cart-item-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
}

.cart-item-img-box {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    background: #161b26;
    flex-shrink: 0;
}

.cart-item-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex-grow: 1;
}

.cart-item-title {
    font-size: 1.05rem;
    margin-bottom: 5px;
    color: var(--text-primary);
}

.cart-item-price {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--accent-cyan);
}

.cart-item-qty-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
    background: var(--bg-primary);
}

.qty-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 0.9rem;
}

.qty-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--accent-cyan);
}

.qty-input {
    width: 35px;
    text-align: center;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.9rem;
    outline: none;
}

.cart-item-remove-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition-fast);
}

.cart-item-remove-btn:hover {
    color: #ff4a4a;
}

/* Resumen y Formulario de Pago */
.checkout-section {
    align-self: start;
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.checkout-summary-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
}

.checkout-summary-card h3 {
    margin-bottom: 20px;
    font-size: 1.25rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.summary-row.total {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.2rem;
}

.summary-row.total .total-amount {
    color: var(--accent-cyan);
}

.checkout-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 25px;
}

.checkout-btn-mp {
    background: #009ee3;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 158, 227, 0.2);
}

.checkout-btn-mp:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 158, 227, 0.35);
    filter: brightness(1.05);
}

.checkout-btn-wa {
    background: #25d366;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.checkout-btn-wa:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
    filter: brightness(1.05);
}

/* Estilos de Notificaciones Flotantes (Toast) */
.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--bg-secondary);
    border: 1px solid var(--accent-cyan);
    color: var(--text-primary);
    padding: 15px 25px;
    border-radius: 8px;
    box-shadow: var(--shadow-md), 0 0 10px rgba(0, 210, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-headings);
    font-weight: 500;
    animation: slideIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 250px;
}

.toast.success {
    border-color: var(--accent-green);
    box-shadow: var(--shadow-md), 0 0 10px rgba(0, 255, 135, 0.1);
}

.toast.error {
    border-color: #ff4a4a;
    box-shadow: var(--shadow-md), 0 0 10px rgba(255, 74, 74, 0.1);
}

/* Animaciones CSS */
@keyframes slideIn {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsividad */
@media (max-width: 992px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .store-container {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar {
        position: static;
        margin-bottom: 20px;
    }
    
    .download-software-card {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 30px;
    }
    
    .download-software-card:nth-child(even) {
        grid-template-columns: 1fr;
    }
    
    .download-software-card:nth-child(even) .software-img-wrapper {
        order: 0;
    }
    
    .download-software-card:nth-child(even) .software-info-wrapper {
        order: 1;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
    
    .auth-container {
        grid-template-columns: 1fr;
    }
    
    .auth-panel:first-child {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .cart-page-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--bg-primary);
        flex-direction: column;
        padding: 50px 20px;
        gap: 30px;
        transition: var(--transition-normal);
        z-index: 999;
        border-top: 1px solid var(--border-color);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .hero-section h1 {
        font-size: 2.25rem;
    }
    
    .hero-btns {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn {
        width: 100%;
    }
    
    .serial-validation-section {
        padding: 30px 20px;
    }
}
