body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #0a0a1f;
    color: #fff;
}

/* CONTENEDOR LOGO */
.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* IMAGEN LOGO */
.logo-img {
    width: 55px;
    height: auto;
}

/* TEXTO */
.logo-text {
    display: flex;
    flex-direction: column;
}

/* MARCA */
.brand {
    font-weight: bold;
    font-size: 20px;
}

/* SUBTEXTO */
.sub {
    font-size: 13px;
    color: #aaa;
}

/* NAVBAR ENCIMA */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;

    background: rgba(10, 10, 30, 0.6);
    backdrop-filter: blur(6px);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 20px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* EFECTO AL HACER SCROLL */
.navbar.scrolled {
    background: rgba(10, 10, 30, 0.7);
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(123,63,228,0.3);
}

/* LINKS */
.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links a {
    color: #ccc;
    text-decoration: none;
    position: relative;
    transition: 0.3s;
}

/* HOVER EFECTO */
.nav-links a::after {
    content: "";
    position: absolute;
    width: 0%;
    height: 2px;
    left: 0;
    bottom: -5px;
    background: linear-gradient(to right, #1e90ff, #7b3fe4);
    transition: 0.3s;
}

.nav-links a:hover {
    color: #fff;
}

.nav-links a:hover::after {
    width: 100%;
}

/* HERO */
.hero {
    position: relative;
    height: 100vh;
}

/* Imagen Full */
.hero-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay oscuro */
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(10,10,30,0.3);
}

/* Contenido centrado PERFECTO */
.hero-content {
    position: relative;
    z-index: 2;

    height: 100%;

    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;

    padding: 0 20px;
    
    transform: translateY(-5%);
}

/* Texto */
.hero-subtitle,
.hero-highlight {
    max-width: 500px;
}

.hero-title {
    font-size: 48px;
    max-width: 600px;
    text-align: right;
    line-height: 1.2;
    margin-bottom: 15px;
}

/* Subtitulo */
.hero-subtitle {
    color: #ccc;
    text-align: right;
    margin-bottom: 10px;
}

/* Destacado */
.hero-highlight {
    color: #a855f7;
    text-align: right;
    margin-bottom: 20px;
}

.services {
    padding: 80px 20px;
    text-align: center;
}

.services h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.services-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    background: rgba(255,255,255,0.05);
    padding: 25px;
    border-radius: 15px;
    width: 250px;
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.about {
    padding: 80px 20px;
    text-align: center;
    max-width: 800px;
    margin: auto;
}

.cta {
    padding: 80px 20px;
    text-align: center;
}

/* Boton */
.btn-primary {
    padding: 12px 28px;
    background: linear-gradient(to right, #1e90ff, #7b3fe4);
    border-radius: 30px;
    color: white;
    text-decoration: none;
    margin-top: 10px;
    align-self: flex-end;
    margin-right: 20px;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(123,63,228,0.6);
}

.footer {
    text-align: center;
    padding: 20px;
    background: #050510;
    color: #aaa;
    font-size: 14px;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .nav-container {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

}

@media (max-width: 768px) {

    .hero-content {
        align-items: center;
        text-align: center;
        transform: none;
    }

    .hero-title,
    .hero-subtitle,
    .hero-highlight {
        text-align: center;
    }

}

@media (max-width: 768px) {

    .hero-title {
        font-size: 36px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-highlight {
        font-size: 18px;
    }
    
    .services h2 {
        font-size: 26px;
    }

    .card h3 {
        font-size: 18px;
    }

    .card p {
        font-size: 14px;
    }

}

@media (max-width: 768px) {

    .btn-primary {
        align-self: center;
        margin-right: 0;
    }

}

@media (max-width: 768px) {

    .logo-img {
        width: 65px;
    }

    .brand {
        font-size: 20px;
    }

}

@media (max-width: 768px) {

    .hero-bg {
        object-position: center right;
    }

}

@media (max-width: 768px) {

    .hero {
        height: 80vh;
    }

}

@media (max-width: 768px) {

    .overlay {
        background: rgba(0,0,0,0.6);
    }

}

/* ================= CARDS PRO ================= */

.card-pro {
    background: rgba(255,255,255,0.05);
    padding: 30px;
    border-radius: 20px;
    width: 260px;

    backdrop-filter: blur(10px);

    border: 1px solid rgba(255,255,255,0.1);

    transition: all 0.3s ease;

    position: relative;
    overflow: hidden;
}

/* EFECTO GLOW */
.card-pro::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(123,63,228,0.3), transparent);
    top: -100%;
    left: 0;
    transition: 0.5s;
}

/* HOVER */
.card-pro:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 0 25px rgba(123,63,228,0.4);
}

.card-pro:hover::before {
    top: 100%;
}

/* TEXTO */
.card-pro h3 {
    margin-bottom: 10px;
}

.card-pro p {
    color: #bbb;
}

/* ================= ANIMACIONES ================= */

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

/* BOTÓN MENU */
.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
    color: white;
    z-index: 200;
}

/* MOBILE */
@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        background: rgba(10,10,30,0.95);
        margin-top: 10px;
        border-radius: 10px;
        padding: 15px 0;
    }

    .nav-links.active {
        display: flex;
    }

}

@media (max-width: 768px) {

    .menu-toggle {
        display: block;
    }

    .nav-links {
        display: none;
    }

}


