/* Variables para tema claro SOLAMENTE */
:root {
    --primary-color: #bd7b7b;
    --primary-hover: #cb0000;
    --secondary-color: #7e0000;
    --bg-color: #f8f9fa;
    --text-color: #124303;
    --light-gray: #e2e8f0;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(106 124 255);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2), 0 2px 4px -1px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.2), 0 4px 6px -2px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.25), 0 10px 10px -5px rgba(0, 0, 0, 0.15);
    --text-shadow: 0 0 10px #000000, 0 0 10px #000000, 0 0 0px #000000;
    --accent-shadow: 0 0 5px #ffa4a4, 0 0 10px #ff0000, 0 0 15px #e67575;
    --rounded-sm: 0.25rem;
    --rounded: 0.5rem;
    --rounded-md: 0.75rem;
    --rounded-lg: 1rem;
    --rounded-full: 9999px;
}

/* Variables para tema oscuro - Colores completamente diferentes */
[data-theme="dark"] {
    --primary-color: #9962002b;
    --primary-hover: #004232;
    --secondary-color: rgb(0 21 37 / 85%);
    --bg-color: #0d1117;
    --text-color: #e6edf3;
    --light-gray: #191b00;
    --white: #5e3c00;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.5), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.6), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --text-shadow: 0 0 8px #00ffc2, 0 0 16px #00ffbf;
    --accent-shadow: 0 0 8px #bb86fc, 0 0 16px #7c4dff, 0 0 24px #3f51b5;
    --nuevo: #ffffff00;

}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.features-grid {
    padding-left: 15px;
    padding-top: 15px;
    padding-bottom: 50px;
}

html {
    scroll-behavior: smooth;
    transition: all 0.3s ease;
}

body {
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.5;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Estilos base para elementos comunes */
h2 {
    color: var(--text-color);
    font-size: 3rem;
    text-shadow: var(--text-shadow);
}

p {
    color: var(--text-color);
    text-shadow: var(--text-shadow);
}

/* Botones primarios - colores diferentes por tema */
.btn-primary {
    background-color: #032101;
    color: #a1e05e;
    box-shadow: var(--shadow);
    text-shadow: var(--text-shadow);
}

[data-theme="dark"] .btn-primary {
    background-color: #1a1a2e;
    color: #64ffda;
    box-shadow: var(--shadow);
    text-shadow: var(--text-shadow);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Scroll Container */
.scroll-container {
    height: 100vh;
    width: 100vw;
    overflow: hidden;
    position: relative;
}

/* Secciones - TODAS con imagen de fondo */
section {
    height: 100vh;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0rem 0;
    padding-top: 0rem;
    padding-right: 0px;
    padding-bottom: 0rem;
    padding-left: 0px;
    opacity: 0;
    transform: translateY(100px);
    transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
    visibility: hidden;
}

/* Imagen de fondo para TODAS las secciones */
section::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url(Mano4Dedos.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(3px);
    z-index: 0;
}

/* Para el modo oscuro, quitar la imagen de fondo */
[data-theme="dark"] section::before {
    display: none;
}

section.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
    z-index: 10;
}

section.prev {
    transform: translateY(-100px);
    opacity: 0;
}

section.next {
    transform: translateY(100px);
    opacity: 0;
}

/* Contenedor principal */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    padding-top: 0px;
    padding-right: 1.5rem;
    padding-bottom: 0px;
    padding-left: 14vh;
    z-index: 10;
    position: relative;
}

/* Barra lateral de navegación - colores diferentes por tema */
.sidebar {
    position: fixed;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    background-color: var(--secondary-color);
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow-md);
    width: 60px;
    padding: 1rem 0;
    transition: all 0.3s ease;
    z-index: 1000;
}

.sidebar:hover {
    width: 200px;
}

.sidebar ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    list-style: none;
}

.sidebar li {
    width: 100%;
    text-align: center;
}

.sidebar a {
    display: flex;
    align-items: center;
    padding: 0.75rem 0.68rem;
    color: #5e1b1b;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    border-radius: var(--rounded);
    margin: 0.25rem;
    text-shadow: var(--text-shadow);
}

[data-theme="dark"] .sidebar a {
    color: #000000;
}

.sidebar a:hover {
    background-color: var(--primary-color);
    color: var(--text-color);
    box-shadow: var(--shadow);
}

.sidebar a.active {
    background-color: #b91818;
    color: var(--white);
    box-shadow: var(--shadow);
}

[data-theme="dark"] .sidebar a.active {
    background-color: #ffa100;
    color: #0d1117;
    box-shadow: var(--shadow);
}

.sidebar i {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
}

.sidebar span {
    display: none;
    margin-left: 1rem;
}

.sidebar:hover span {
    display: inline;
}

/* Estilos para la sección Hero - colores diferentes por tema */
.hero {    
    background: linear-gradient(300deg, var(--primary-color) 0%, var(--primary-hover) 100%)
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.hero-content {
    flex: 1;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    text-shadow: var(--text-shadow);
}

.hero-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin: 1rem 0;
    text-shadow: var(--accent-shadow);
}

.hero-content p {
    font-size: 1.125rem;
    color: #b3fba9;
    margin-bottom: 2rem;
    text-shadow: var(--text-shadow);
}

[data-theme="dark"] .hero-content p {
    color: #64ffda;
    margin-bottom: 2rem;
    text-shadow: var(--text-shadow);
}

.hero-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.mod-image {
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow-lg);
    transform: perspective(1000px) rotateY(0deg);
    transition: transform 0.5s ease;
    max-width: 100%;
    max-height: 400px;
    object-fit: cover;
    border: 3px solid #00000000;
    background: linear-gradient(85deg, #6e441073, #006280, #00000047, #054528);
    border-image-slice: 1;
}

.mod-image:hover {
    transform: perspective(1000px) rotateY(-5deg) scale(1.02);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--rounded);
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    border: none;
    font-size: 1rem;
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    text-shadow: var(--text-shadow);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-color);
    box-shadow: var(--shadow);
}

/* Títulos de sección */
section h2 {
    font-size: 2.1rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0rem;
}

/* Estilos para características - colores diferentes por tema */
.features-container {
    background-color: #ffffff3b;
    border-radius: var(--rounded);
    box-shadow: var(--shadow);
    padding: 0rem;
    margin-top: 1rem;
    max-height: 63vh;
    overflow: hidden;
    position: relative;
}

[data-theme="dark"] .features-container {
    background-color: #161b2299;
    border-radius: var(--rounded);
    box-shadow: var(--shadow);
}

.features-scrollable {
    max-height: 64vh;
    overflow-y: auto;
    padding-right: 1rem;
    scroll-behavior: smooth;
}

.features-scrollable::-webkit-scrollbar {
    width: 8px;
}

.features-scrollable::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: var(--rounded-full);
}

.features-scrollable::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: var(--rounded-full);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    background-color: #f8f9fa4a;
    padding: 1.5rem;
    border-radius: var(--rounded);
    box-shadow: var(--shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
}

[data-theme="dark"] .feature-card {
    background-color: #21262d99;
    padding: 1.5rem;
    border-radius: var(--rounded);
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.feature-card.hidden {
    display: none;
}

.feature-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #00104f;
    text-shadow: var(--text-shadow);
}

[data-theme="dark"] .feature-card h3 {
    color: #64ffda;
    text-shadow: var(--text-shadow);
}

.feature-card p {
    color: #001e75;
    font-size: 0.9rem;
    line-height: 1.5;
    text-shadow: var(--text-shadow);
}

[data-theme="dark"] .feature-card p {
    color: #8594df;
    font-size: 0.9rem;
    line-height: 1.5;
    text-shadow: var(--shadow-sm);
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: #0017ff;
    color: var(--white);
    border-radius: var(--rounded-full);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.25rem;
    box-shadow: var(--shadow);
}

[data-theme="dark"] .feature-icon {
    background-color: #d58b02;
    color: #0d1117;
}

.show-more-btn {
    display: none;
    margin: 1.5rem auto 0;
    padding: 0.75rem 1.5rem;
    background-color: #00159b;
    color: var(--white);
    border: none;
    border-radius: var(--rounded);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    width: 100%;
    box-shadow: var(--shadow);
    text-shadow: var(--text-shadow);
}

[data-theme="dark"] .show-more-btn {
    background-color: #1a1a2e;
    color: #64ffda;
}

.show-more-btn:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Galería */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--rounded);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    border-radius:10px;
    border:3px solid #3d3d3dc7;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-nav {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.gallery-nav button {
    width: 3rem;
    height: 3rem;
    border-radius: var(--rounded-full);
    background-color: #1a1a1a;
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

[data-theme="dark"] .gallery-nav button {
    background-color: #00364b;
    color: #0d1117;
}

.gallery-nav button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.gallery-nav button:disabled {
    background-color: #ababab;
    cursor: not-allowed;
    transform: none;
}

[data-theme="dark"] .gallery-nav button:disabled {
    background-color: #21262d;
    cursor: not-allowed;
    transform: none;
}

/* Modal para imágenes */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

[data-theme="dark"] .image-modal {
    background-color: rgba(13, 17, 23, 0.9);
}

.image-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background-color: var(--white);
    border-radius: var(--rounded-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 1rem;
    text-shadow: var(--text-shadow);
}

.modal-image {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: var(--rounded);
}

/* Instalación - colores diferentes por tema */
.installation-panels {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
}

.installation-panel {
    flex: 1;
    background-color: #4b237170;
    border-radius: var(--rounded);
    box-shadow: var(--shadow);
    padding: 0rem;
    padding-top: 0rem;
    padding-right: 1rem;
    padding-bottom: 0.5rem;
    padding-left: 1rem;
    max-height: 65vh;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .installation-panel {
    background-color: #21262d99;
}

.installation-panel h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--light-gray);
    color: #bb0000;
    text-shadow: var(--text-shadow);
}

[data-theme="dark"] .installation-panel h3 {
    color: #00ffff;
    text-shadow: var(--text-shadow);
}

.installation-steps-container {
    flex: 1;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.installation-steps-container::-webkit-scrollbar {
    width: 8px;
}

.installation-steps-container::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: var(--rounded-full);
}

.installation-steps-container::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: var(--rounded-full);
}

.installation-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.installation-number {
    width: 3rem;
    height: 3rem;
    background-color: #c50000;
    color: var(--white);
    border-radius: var(--rounded-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: var(--shadow);
}

[data-theme="dark"] .installation-number {
    background-color: #293643;
    color: #0d1117;
}

.installation-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #859da1;
    text-shadow: var(--text-shadow);
}

[data-theme="dark"] .installation-content h4 {
    color: #052b00;
    text-shadow: var(--text-shadow);
}

.installation-content p {
    color: #a1afb1;
    line-height: 1.6;
    text-shadow: var(--text-shadow);
}

[data-theme="dark"] .installation-content p {
    color: #8892b0;
    line-height: 1.6;
    text-shadow: var(--shadow-sm

);
}

/* FAQ - colores diferentes por tema */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.faq-card {
    background-color: #ffef4766;
    border-radius: var(--rounded);
    box-shadow: var(--shadow);
    padding: 1.5rem;
    transition: all 0.3s ease;
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
}

[data-theme="dark"] .faq-card {
    background-color: #04152d99;
}

.faq-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.faq-question {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0;
    display: block;
    color: #ffaeae;
    text-shadow: var(--text-shadow);
}

[data-theme="dark"] .faq-question {
    color: #abcdff;
    text-shadow: var(--shadow-sm);
}

.faq-answer {
    color: #ffc7c7;
    display: none;
    line-height: 1.6;
    text-shadow: var(--text-shadow);
}

[data-theme="dark"] .faq-answer {
    color: #ffc800;
    display: none;
    line-height: 1.6;
    text-shadow: var(--text-shadow);
}

/* Actualizaciones - colores diferentes por tema */
.updates-panel {
    background-color: #0000005e;
    border-radius: var(--rounded);
    box-shadow: var(--shadow);
    padding: 2rem;
    margin-top: 3rem;
    max-height: 400px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .updates-panel {
    background-color: #161b2299;
}

.updates-list-container {
    height: 100%;
    overflow-y: auto;
    padding-right: 1rem;
}

.updates-list-container::-webkit-scrollbar {
    width: 8px;
}

.updates-list-container::-webkit-scrollbar-track {
    background: var(--light-gray);
    border-radius: var(--rounded-full);
}

.updates-list-container::-webkit-scrollbar-thumb {
    background-color: var(--primary-color);
    border-radius: var(--rounded-full);
}

.updates-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.update-item {
    background-color: #7193b566;
    border-radius: var(--rounded);
    box-shadow: var(--shadow-sm);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

[data-theme="dark"] .update-item {
    background-color: #21262d99;
}

.update-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.update-item h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    text-shadow: var(--accent-shadow);
}

.update-item p {
    color: #a8e5e5;
    line-height: 1.6;
    text-shadow: var(--text-shadow);
}

[data-theme="dark"] .update-item p {
    color: #beceff;
    line-height: 1.6;
    text-shadow: var(--text-shadow);
}

/* Descarga - colores diferentes por tema */
.download {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    text-align: center;
    color: var(--secondary-color);
    font-size: 3rem;
    text-shadow: var(--accent-shadow);
}

.download h2 {
    color: var(--nuevo);
    font-size: 3rem;
    text-shadow: var(--text-shadow);
}

.download-text {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.125rem;
    opacity: 0.9;
    color: #bee9b0;
    text-shadow: var(--text-shadow);
}

[data-theme="dark"] .download-text {
    color: #64ffda;
    text-shadow: var(--text-shadow);
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.download-buttons a {
    text-decoration: none;
}

.download-buttons .btn-primary {
    background-color: var(--primary-hover);
    color: var(--white);
}

.download-buttons .btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Contacto - colores diferentes por tema */
.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.info-card {
    background-color: #0637b963;
    border-radius: var(--rounded);
    box-shadow: var(--shadow);
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

[data-theme="dark"] .info-card {
    background-color: #21262d99;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-card i {
    font-size: 2rem;
    color: #556151;
    margin-bottom: 1rem;
}

[data-theme="dark"] .info-card i {
    color: #ffffff;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #a9d99b;
    text-shadow: var(--text-shadow);
}

[data-theme="dark"] .info-card h3 {
    color: #8cfc86;
    text-shadow: var(--text-shadow);
}

.info-card p {
    color: #7f91c5;
    font-weight: 500;
    text-shadow: var(--text-shadow);
}

[data-theme="dark"] .info-card p {
    color: #ffffff;
    font-weight: 500;
    text-shadow: var(--text-shadow);
}

/* Secciones con scroll interno */
.section-scrollable {
    overflow-y: auto;
    max-height: calc(100vh);
}

.section-scrollable::-webkit-scrollbar {
    width: 8px;
}

.section-scrollable::-webkit-scrollbar-track {
    background: rgba(226, 232, 240, 0.3);
    border-radius: var(--rounded-full);
}

.section-scrollable::-webkit-scrollbar-thumb {
    background-color: rgba(229, 62, 62, 0.6);
    border-radius: var(--rounded-full);
}

[data-theme="dark"] .section-scrollable::-webkit-scrollbar-track {
    background: rgba(33, 38, 45, 0.5);
    border-radius: var(--rounded-full);
}

[data-theme="dark"] .section-scrollable::-webkit-scrollbar-thumb {
    background-color: rgba(100, 255, 218, 0.7);
    border-radius: var(--rounded-full);
}

.section-scrollable::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary-color);
}

/* Prevenir scroll global en elementos con scroll interno */
.scroll-zone {
    position: relative;
}

.scroll-zone:hover {
    z-index: 100;
}

.scroll-indicator {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--white);
    border-radius: var(--rounded-full);
    padding: 1rem;
    box-shadow: var(--shadow-md);
    z-index: 1000;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.scroll-indicator.disabled {
    opacity: 0.3;
}

.scroll-indicator i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Animaciones adicionales */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Estados de carga */
.loading {
    pointer-events: none;
    opacity: 0.7;
}

/* Media Queries */
@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        align-items: center;
        margin-bottom: 2rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .installation-panels {
        flex-direction: column;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

@media (max-width: 7vh) {
    .sidebar {
        top: 1rem;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 2rem);
        border-radius: var(--rounded-lg);
        padding: 0.5rem 0;
    }

    .sidebar ul {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .sidebar:hover {
        width: calc(100% - 2rem);
    }

    .sidebar span {
        display: none;
    }

    .sidebar:hover span {
        display: none;
    }

    .sidebar a {
        padding: 0.5rem;
        margin: 0.25rem;
    }

    section {
        padding: 6rem 0 3rem;
    }

    section h2 {
        font-size: 2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-text {
        font-size: 1.25rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 7vh) {
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn {
        width: 100%;
        padding: 0.875rem 1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }

    section h2 {
        font-size: 1.75rem;
    }

    .sidebar {
        width: calc(100% - 1rem);
    }

    .sidebar ul {
        gap: 0.25rem;
    }

    .sidebar a {
        padding: 0.4rem;
    }

    .sidebar i {
        font-size: 1.25rem;
        width: 25px;
    }
}