* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00f0ff;
    --secondary: #7b2dff;
    --accent: #ff00aa;
    --dark: #0a0a0f;
    --light: #12121a;
    --white: #e0e0e0;
    --glow-primary: 0 0 20px rgba(0, 240, 255, 0.5);
    --glow-secondary: 0 0 20px rgba(123, 45, 255, 0.5);
    --glow-accent: 0 0 20px rgba(255, 0, 170, 0.5);
}

body {
    font-family: 'Segoe UI', 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--white);
    background: var(--dark);
    overflow-x: hidden;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 240, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 240, 255, 0.8), 0 0 60px rgba(123, 45, 255, 0.4); }
}

@keyframes borderGlow {
    0%, 100% { border-color: var(--primary); }
    50% { border-color: var(--secondary); }
}

@keyframes scanline {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(100%); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

header {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--primary);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    animation: fadeIn 0.8s ease-out;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
    animation: glow 3s infinite;
}

@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-links a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    transition: left 0.3s;
}

.nav-links a:hover::before {
    left: 100%;
}

.nav-links a:hover {
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
    text-shadow: 0 0 10px var(--primary);
}

main {
    padding-top: 80px;
}

.hero {
    background: linear-gradient(135deg, var(--dark) 0%, #1a1a2e 50%, var(--dark) 100%);
    text-align: center;
    padding: 6rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 240, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(123, 45, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), var(--accent), transparent);
    animation: scanline 3s linear infinite;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(90deg, var(--primary), var(--white), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeIn 1s ease-out;
    position: relative;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.8;
    animation: fadeIn 1s ease-out 0.2s backwards;
}

.btn-primary {
    display: inline-block;
    background: transparent;
    color: var(--primary);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid var(--primary);
    border-radius: 50px;
    margin-top: 2rem;
    transition: all 0.3s ease;
    animation: fadeIn 1s ease-out 0.4s backwards;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    background: var(--primary);
    color: var(--dark);
    box-shadow: var(--glow-primary), 0 0 40px rgba(0, 240, 255, 0.3);
    transform: scale(1.05);
}

.btn-whatsapp-hero {
    display: inline-block;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--white);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    margin-top: 2rem;
    transition: all 0.3s ease;
    animation: fadeIn 1s ease-out 0.4s backwards;
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
    font-size: 1.1rem;
}

.btn-whatsapp-hero:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.5);
}

.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(20, 20, 30, 0.8);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(0, 240, 255, 0.2);
    transition: all 0.4s ease;
    animation: fadeIn 0.8s ease-out backwards;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--glow-primary);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    animation: float 3s ease-in-out infinite;
}

.feature-card:nth-child(2) .feature-icon { animation-delay: 0.2s; }
.feature-card:nth-child(3) .feature-icon { animation-delay: 0.4s; }
.feature-card:nth-child(4) .feature-icon { animation-delay: 0.6s; }

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-card p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.contacto {
    text-align: center;
    background: rgba(20, 20, 30, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    margin: 0 2rem 2rem;
    padding: 3rem 2rem;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.contacto h2 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.contacto strong {
    color: var(--accent);
}

footer {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--primary);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
}

@media (max-width: 768px) {
    header {
        position: relative;
    }
    
    nav {
        flex-wrap: wrap;
    }
    
    .nav-links {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        border-bottom: 1px solid var(--primary);
        z-index: 99;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 0.8rem 1rem;
        text-align: center;
        border: 1px solid transparent;
        border-radius: 4px;
    }
    
    .nav-links a:hover {
        border-color: var(--primary);
        background: rgba(0, 240, 255, 0.1);
    }
    
    .menu-toggle {
        display: block;
        background: rgba(0, 240, 255, 0.1);
        border: 1px solid var(--primary);
        color: var(--primary);
        padding: 0.6rem 1rem;
        border-radius: 4px;
        cursor: pointer;
        font-size: 1.2rem;
        line-height: 1;
    }
    
    .menu-toggle:active {
        background: var(--primary);
        color: var(--dark);
    }
    
    .hero {
        padding: 4rem 1rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .features {
        padding: 2rem 1rem;
        gap: 1rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .contacto {
        margin: 0 1rem 1rem;
        padding: 2rem 1rem;
    }
    
    .contacto h2 {
        font-size: 1.4rem;
    }
    
    .logo {
        font-size: 1.4rem;
    }
}