/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 50%, #EF4444 100%);
    min-height: 100vh;
    overflow-x: hidden;
    color: white;
}

.main-container {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Logo centrado */
.logo-section {
    position: absolute;
    top: 30px;
    left: 10%;
    transform: translateX(-50%);
    z-index: 10;
}

.main-logo {
    width: 180px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    animation: logoGlow 3s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% {
        filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
    }
    100% {
        filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.6));
    }
}

/* Título principal */
.title-section {
    position: absolute;
    top: 230px;
    left: 5%;
    text-align: left;
    z-index: 10;
    max-width: 400px;
}

.main-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInTitle 1s ease-out 0.5s forwards, titlePulse 4s ease-in-out 2s infinite;
}

@keyframes titlePulse {
    0%, 100% {
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }
    50% {
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    }
}

.subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: slideInTitle 1s ease-out 1.5s forwards;
}

/* Laptop hero que ocupa casi toda la pantalla */
.laptop-hero {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60vw;
    height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.laptop-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-laptop {
    width: 80%;
    height: auto;
    max-width: 800px;
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.3));
    animation: laptopFloat 6s ease-in-out infinite;
    z-index: 5;
    position: relative;
}

@keyframes laptopFloat {
    0%, 100% {
        transform: translateY(0px) rotateY(0deg);
    }
    50% {
        transform: translateY(-20px) rotateY(5deg);
    }
}

/* Efectos de brillo ambiental */
.laptop-ambient-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: ambientGlow 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes ambientGlow {
    0%, 100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Animaciones dinámicas */
@keyframes slideInTitle {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Efecto de brillo en teclas eliminado */

/* Reflejo en pantalla */
.screen-reflection {
    position: absolute;
    top: 25%;
    left: 47%;
    width: 25%;
    height: 35%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: screenReflection 5s ease-in-out infinite;
    z-index: 6;
    border-radius: 3px;
}

@keyframes screenReflection {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.5;
    }
}

/* Insignias de confianza (sin marcos) */
.trust-indicators {
    position: absolute;
    top: 50%;
    right: 5%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 10;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.trust-item:hover {
    opacity: 1;
    transform: translateY(-5px);
}

.trust-item i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.trust-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

/* Marcas */
.brands-section {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.brands-grid {
    display: flex;
    gap: 25px;
    align-items: center;
    justify-content: center;
}

.brand-logo {
    width: 50px;
    height: auto;
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
    opacity: 0.7;
    transition: all 0.3s ease;
}

.brand-logo:hover {
    opacity: 1;
    transform: scale(1.1);
    filter: brightness(0) invert(1) drop-shadow(0 0 15px rgba(255, 255, 255, 0.6));
}

/* Contacto */
.contact-section {
    position: absolute;
    bottom: 180px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    text-decoration: none;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.social-link i {
    font-size: 1.1rem;
}

.phone-contact {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.phone-contact i {
    font-size: 1.1rem;
}

/* Footer */
.footer {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.footer p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-logo {
        width: 80px;
    }
    
    .title-section {
        top: 25%;
        left: 2%;
        max-width: 25%;
        z-index: 10;
    }
    
    .main-title {
        font-size: 1.3rem;
        line-height: 1.1;
        margin-bottom: 8px;
    }
    
    .subtitle {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .laptop-hero {
        width: 75vw;
        height: 50vh;
        top: 48%;
        z-index: 5;
    }
    
    .hero-laptop {
        width: 90%;
    }
    
    .trust-indicators {
        right: 2%;
        top: 50%;
        gap: 8px;
        transform: translateY(-50%) scale(0.85);
    }
    
    .trust-item i {
        font-size: 1.2rem;
    }
    
    .trust-item span {
        font-size: 0.65rem;
    }
    
    .brands-grid {
        gap: 15px;
    }
    
    .brand-logo {
        width: 35px;
    }
    
    .contact-section {
        flex-direction: column-reverse;
        gap: 15px;
        bottom: 12%;
        padding: 12px;
        transform: translateX(-50%) scale(0.9);
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        padding: 8px 12px;
        font-size: 0.9rem;
        min-width: 100px;
    }
    
    .social-links {
        margin-bottom: 15px;
    }
    
    .brand-logos {
        order: 2;
    }
    
    .phone-contact {
        order: 3;
        margin-top: 10px;
    }
    
    .phone-contact {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

@media (max-width: 480px) {
    .main-logo {
        width: 60px;
    }
    
    .main-title {
        font-size: 1rem;
        line-height: 1;
        margin-bottom: 5px;
    }
    
    .subtitle {
        font-size: 0.6rem;
        line-height: 1.2;
    }
    
    .laptop-hero {
        width: 75vw;
        height: 50vh;
        top: 45%;
    }
    
    .title-section {
        top: 20%;
        left: 1%;
        max-width: 30%;
    }
    
    .trust-indicators {
        right: 1%;
        top: 50%;
        gap: 6px;
        transform: translateY(-50%) scale(0.75);
    }
    
    .trust-item span {
        font-size: 0.55rem;
    }
    
    .contact-section {
        bottom: 15%;
        padding: 12px;
        transform: translateX(-50%) scale(1);
        flex-direction: column-reverse;
    }
    
    .brands-grid {
        gap: 10px;
        margin-bottom: 0;
        order: 2;
    }
    
    .brand-logo {
        width: 25px;
    }
    
    .phone-contact {
        font-size: 0.9rem;
        padding: 8px 12px;
        order: 3;
        margin-top: 10px;
    }
    
    .social-links {
        gap: 8px;
        margin-top: 0;
        order: 1;
        margin-bottom: 15px;
    }
    
    .social-link {
        padding: 8px 12px;
        font-size: 0.8rem;
        min-width: 80px;
        justify-content: center;
    }
    
    .social-link span {
        display: inline;
    }
}