:root {
    --bg-dark: #0b0c16;
    --bg-card: #131526;
    --bg-input: #1a1d36;
    --primary-purple: #635bff;
    --text-white: #ffffff;
    --text-gray: #8f94a8;
    --accent-green: #00ff87;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.slider-container {
    width: 100%;
    overflow: hidden; /* Oculta lo que se sale del contenedor */
    padding: 20px 0;
}

.slider {
    display: flex;
    width: 300%; /* Si tienes 3 imágenes, 300% */
    animation: desplazar 15s linear infinite;
}

.slide {
    width: 100%;
}

.slide img {
    width: 100%;
    display: block;
}

@keyframes desplazar {
    0% { transform: translateX(0); }
    100% { transform: translateX(-66.66%); } /* Ajusta según cantidad de imágenes */
}

/* Header Styles */
.main-header {
    background-color: rgba(11, 12, 22, 0.95);
    border-bottom: 1px solid #232644;
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
}
.logo {
    font-size: 1.3rem;
    letter-spacing: 1px;
}
.logo strong { color: var(--primary-purple); }
.nav-menu a {
    color: var(--text-gray);
    text-decoration: none;
    margin: 0 15px;
    font-size: 0.95rem;
    transition: color 0.3s;
}
.nav-menu a:hover, .nav-menu a.active {
    color: var(--text-white);
}

/* Botones especiales Divi y CV */
.external-links a {
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-right: 8px;
    display: inline-block;
}
.btn-divi { background-color: #df55ea; color: white; }
.btn-cv { background-color: #00bcd4; color: white; }
.btn-fig {background-color: #dc0505; }
.header-actions .icon {
    margin-left: 15px;
    cursor: pointer;
}

/* Layout General */
.content-wrapper {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 40px auto;
    padding: 0 20px;
}

.hero-section {
    background: linear-gradient(135deg, #18113c 0%, #0b0c16 100%);
    padding: 60px;
    border-radius: 12px;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary-purple);
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
}

/* Grillas de Contenido */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}
.card {
    background-color: var(--bg-card);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
    border: 1px solid #1e223f;
}
.card:hover { transform: translateY(-5px); }
.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.card-body { padding: 20px; }
.price { color: var(--accent-green); font-weight: bold; }

/* Formularios (Soporte) */
.form-group {
    margin-bottom: 20px;
}
.form-group label { display: block; margin-bottom: 8px; color: var(--text-gray); }
.form-control {
    width: 100%;
    padding: 12px;
    background-color: var(--bg-input);
    border: 1px solid #2d325a;
    color: white;
    border-radius: 6px;
}

/* Footer Styles */
.main-footer {
    background-color: #07080e;
    padding: 40px 20px 20px;
    margin-top: auto;
    border-top: 1px solid #181a30;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 40px;
}
.footer-links h4 { margin-bottom: 15px; color: var(--text-white); font-size: 0.9rem;}
.footer-links a { display: block; color: var(--text-gray); text-decoration: none; margin-bottom: 10px; font-size: 0.85rem;}
.footer-bottom { text-align: center; margin-top: 40px; color: #4f5366; font-size: 0.8rem; }

