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

:root {
    --neon-cyan: #00ffff;
    --neon-blue: #0066ff;
    --neon-purple: #ff00ff;
    --dark-bg: #0a0e27;
    --darker-bg: #050810;
    --text-primary: #ffffff;
    --text-secondary: #a0aec0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #0a0e27 0%, #050810 100%);
}

.nebula-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255, 0, 255, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(0, 102, 255, 0.05) 0%, transparent 60%);
    filter: blur(40px);
    animation: nebulaPulse 15s ease-in-out infinite alternate;
    will-change: opacity;
}

@keyframes nebulaPulse {
    from { opacity: 0.4; transform: scale(1); }
    to { opacity: 0.7; transform: scale(1.1); }
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15; /* Aumentado para que se vea mejor pero sin nublar el texto */
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--neon-cyan), var(--neon-blue));
    top: -150px;
    left: -150px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--neon-purple), var(--neon-cyan));
    bottom: 50px;
    right: -100px;
    animation-delay: 5s;
}

.orb-3 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--neon-blue), var(--neon-purple));
    top: 50%;
    right: -200px;
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(40px, -40px);
    }
    50% {
        transform: translate(-30px, 30px);
    }
    75% {
        transform: translate(30px, 40px);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 2rem;
    background: rgba(5, 8, 16, 0.95); /* Menos transparencia para mayor claridad */
    backdrop-filter: blur(10px); /* Reducido el blur para evitar efecto nubloso */
    border-bottom: 2px solid rgba(0, 255, 255, 0.3);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.logo-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    height: 80px;
    width: auto;
    max-width: 400px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.4)); /* Reducido el brillo para mayor nitidez */
    transition: all 0.4s ease;
    animation: neonPulse 4s ease-in-out infinite;
    object-fit: contain;
}

.logo:hover {
    filter: drop-shadow(0 0 25px rgba(0, 255, 255, 0.9)) drop-shadow(0 0 50px rgba(0, 102, 255, 0.6));
    transform: scale(1.08);
}

@keyframes neonPulse {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(0, 255, 255, 0.6)) drop-shadow(0 0 30px rgba(0, 102, 255, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(0, 255, 255, 0.8)) drop-shadow(0 0 40px rgba(0, 102, 255, 0.5));
    }
}

/* Main Content */
.main-content {
    padding-top: 140px;
    padding-bottom: 60px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-wrapper {
    width: 100%;
    max-width: 1000px;
    padding: 0 2rem;
}

.hero-section {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

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

/* Main Title */
.main-title {
    font-size: clamp(3rem, 10vw, 5.5rem);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue), var(--neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
    animation: titleGlow 3s ease-in-out infinite;
}

.title-word {
    display: inline-block;
    animation: wordBounce 2.5s ease-in-out infinite;
}

.title-word:nth-child(2) {
    animation-delay: 0.2s;
}

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

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.3)) drop-shadow(0 0 40px rgba(0, 102, 255, 0.2));
    }
    50% {
        filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.5)) drop-shadow(0 0 60px rgba(255, 0, 255, 0.3));
    }
}

/* Subtitle */
.subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    letter-spacing: 1px;
    animation: fadeIn 1.5s ease-out 0.3s both;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    animation: fadeIn 1.5s ease-out 0.6s both;
}

.feature-card {
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 16px;
    padding: 2rem;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(255, 0, 255, 0.1));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    border-color: rgba(0, 255, 255, 0.6);
    transform: translateY(-12px);
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.3), 0 20px 50px rgba(0, 102, 255, 0.15);
    background: rgba(15, 23, 42, 0.8);
}

.speed-card {
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
    animation: speedPulse 3s infinite ease-in-out;
}

@keyframes speedPulse {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.2); }
    50% { box-shadow: 0 0 40px rgba(0, 255, 255, 0.4); }
}

.speed-card .icon-img {
    animation: fastMove 2s infinite linear;
}

@keyframes fastMove {
    0% { transform: translateX(-5px); }
    50% { transform: translateX(5px); }
    100% { transform: translateX(-5px); }
}

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

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    color: var(--neon-cyan);
    stroke-width: 1.5;
    animation: iconRotate 4s linear infinite;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}

.feature-card:hover .feature-icon {
    animation: iconRotate 1.5s linear infinite;
    color: var(--neon-purple);
    filter: drop-shadow(0 0 20px rgba(255, 0, 255, 0.6));
}

@keyframes iconRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--neon-cyan);
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* CTA Section */
.cta-section {
    margin-top: 4rem;
    animation: fadeIn 1.5s ease-out 0.9s both;
}

.cta-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.email-form {
    display: flex;
    gap: 0.8rem;
    max-width: 550px;
    margin: 0 auto 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.email-input {
    flex: 1;
    min-width: 250px;
    padding: 1.1rem 1.5rem;
    background: rgba(15, 23, 42, 0.7);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
}

.email-input::placeholder {
    color: rgba(160, 174, 192, 0.6);
}

.email-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4), inset 0 0 10px rgba(0, 255, 255, 0.1);
    background: rgba(15, 23, 42, 0.9);
}

.submit-btn {
    padding: 1.1rem 2.5rem;
    background: linear-gradient(135deg, var(--neon-cyan), var(--neon-blue));
    border: 2px solid var(--neon-cyan);
    border-radius: 12px;
    color: #000;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5), 0 0 40px rgba(0, 102, 255, 0.3);
    position: relative;
    overflow: hidden;
}

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

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

.submit-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.8), 0 0 60px rgba(0, 102, 255, 0.5), 0 15px 40px rgba(0, 255, 255, 0.3);
}

.submit-btn:active {
    transform: translateY(-2px);
}

.submit-btn svg {
    width: 22px;
    height: 22px;
    transition: transform 0.4s ease;
}

.submit-btn:hover svg {
    transform: translateX(4px);
}

.form-message {
    font-size: 0.95rem;
    min-height: 1.5rem;
    color: var(--neon-cyan);
    font-weight: 600;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.4);
}

.form-message.error {
    color: #ff1744;
    text-shadow: 0 0 10px rgba(255, 23, 68, 0.4);
}

/* Footer */
.footer {
    background: rgba(5, 8, 16, 0.7);
    border-top: 2px solid rgba(0, 255, 255, 0.15);
    padding: 2.5rem 2rem;
    text-align: center;
    backdrop-filter: blur(15px);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.05);
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-cyan);
    transition: all 0.4s ease;
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
}

.social-link svg {
    width: 22px;
    height: 22px;
}

.social-link:hover {
    color: var(--neon-purple);
    border-color: var(--neon-purple);
    background: rgba(255, 0, 255, 0.1);
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(255, 0, 255, 0.4), 0 10px 30px rgba(255, 0, 255, 0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .logo {
        height: 60px;
    }

    .main-content {
        padding-top: 120px;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.1rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .email-form {
        flex-direction: column;
        gap: 1rem;
    }

    .email-input {
        min-width: 100%;
    }

    .submit-btn {
        width: 100%;
        justify-content: center;
    }

    .social-links {
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .content-wrapper {
        padding: 0 1rem;
    }

    .logo {
        height: 50px;
    }
}

/* Estilos adicionales para iconos e imágenes */
.main-logo-display {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.hero-logo {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 255, 255, 0.3));
    animation: float 6s ease-in-out infinite;
}

.feature-icon-img {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 50%;
    padding: 15px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.3));
    will-change: transform;
}

.transparent-logo {
    mix-blend-mode: multiply;
    filter: brightness(1.1) contrast(1.2) opacity(0.85);
    background-color: transparent;
}

.feature-card:hover .feature-icon-img {
    transform: scale(1.1) rotate(5deg);
    background: rgba(0, 255, 255, 0.1);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}
