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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #3b82f6 100%);
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
    position: relative;
}

/* Animación de fondo */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundShift 10s ease-in-out infinite alternate;
}

@keyframes backgroundShift {
    0% { opacity: 0.3; }
    100% { opacity: 0.6; }
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 50px;
    position: relative;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.logo-icon {
    font-size: 2.2rem;
    margin-right: 12px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: #fbbf24;
    transition: width 0.3s ease;
}

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

.auth-buttons {
    display: flex;
    gap: 18px;
}

.btn-login {
    background: transparent;
    border: 2px solid #fbbf24;
    color: #fbbf24;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-login:hover {
    background: #fbbf24;
    color: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

.btn-register {
    background: #fbbf24;
    border: 2px solid #fbbf24;
    color: #1e3a8a;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-register:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

/* Mobile Auth Section */
.mobile-auth-section {
    display: none;
    padding: 35px 25px;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    margin: 25px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.mobile-auth-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.mobile-auth-subtitle {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 30px;
    line-height: 1.6;
}

.mobile-auth-buttons {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.mobile-btn {
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    min-width: 150px;
}

.mobile-btn-login {
    background: transparent;
    border: 2px solid #fbbf24;
    color: #fbbf24;
}

.mobile-btn-login:hover {
    background: #fbbf24;
    color: #1e3a8a;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.3);
}

.mobile-btn-register {
    background: #fbbf24;
    border: 2px solid #fbbf24;
    color: #1e3a8a;
}

.mobile-btn-register:hover {
    background: #f59e0b;
    border-color: #f59e0b;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.4);
}

.hero-section {
    display: flex;
    align-items: center;
    min-height: 85vh;
    padding: 0 50px;
    position: relative;
}

.hero-content {
    flex: 1;
    max-width: 650px;
    z-index: 5;
}

.hero-badge {
    display: inline-block;
    background: rgba(251, 191, 36, 0.15);
    color: #fbbf24;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.hero-title {
    font-size: clamp(2.8rem, 5.5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 35px;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
    color: #fbbf24;
    position: relative;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.8vw, 1.4rem);
    color: #e2e8f0;
    margin-bottom: 25px;
    line-height: 1.7;
    font-weight: 500;
}

.hero-description {
    font-size: clamp(1rem, 2.2vw, 1.2rem);
    color: #cbd5e0;
    margin-bottom: 45px;
    line-height: 1.7;
    max-width: 750px;
}

.voice-activation-info {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 35px;
    backdrop-filter: blur(10px);
}

.voice-activation-info h4 {
    color: #fbbf24;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.voice-activation-info p {
    color: #e2e8f0;
    font-size: 1rem;
    line-height: 1.5;
}

.cta-button {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border: none;
    color: #1e3a8a;
    padding: 20px 40px;
    border-radius: 12px;
    font-size: clamp(1.1rem, 2.8vw, 1.3rem);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-top: 25px;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(251, 191, 36, 0.4);
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.hero-visual {
    flex: 1;
    position: relative;
    height: 650px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.features-section {
    background: rgba(255, 255, 255, 0.08);
    padding: 100px 25px;
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.features-container {
    max-width: 1300px;
    margin: 0 auto;
}

.features-header {
    text-align: center;
    margin-bottom: 60px;
}

.features-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.features-header p {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: #cbd5e0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.features-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    width: 100%;
}

.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 35px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    color: #2d3748;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    background: white;
}

.card-icon {
    font-size: 2.8rem;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #1e3a8a;
    font-weight: 700;
}

.card p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.6;
}

.decorative-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(251, 191, 36, 0.15);
    animation: float 6s ease-in-out infinite;
}

.shape-1 {
    width: 120px;
    height: 120px;
    top: 15%;
    right: 15%;
    animation-delay: -1s;
}

.shape-2 {
    width: 80px;
    height: 80px;
    bottom: 35%;
    right: 35%;
    animation-delay: -2s;
}

.shape-3 {
    width: 100px;
    height: 100px;
    top: 65%;
    left: 10%;
    animation-delay: -3s;
}

@keyframes float {
    0%, 100% {
        opacity: 0.4;
        transform: translateY(0px) scale(1);
    }
    50% {
        opacity: 0.2;
        transform: translateY(-20px) scale(1.05);
    }
}

.bottom-text {
    text-align: center;
    padding: 50px 25px;
    color: #cbd5e0;
    font-size: 1rem;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.bottom-text span {
    color: #fbbf24;
    font-weight: 700;
}

@media (max-width: 1024px) {
    .features-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .mobile-auth-section {
        display: block;
    }

    .auth-buttons {
        display: none;
    }

    .hero-section {
        text-align: center;
        padding: 0 30px;
    }

    .hero-content {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 20px 5%;
        justify-content: center;
    }

    .logo {
        font-size: 1.5rem;
    }

    .logo-icon {
        font-size: 2rem;
    }

    .mobile-auth-section {
        display: block;
        margin: 20px;
        padding: 30px 25px;
    }

    .mobile-auth-title {
        font-size: 1.4rem;
        margin-bottom: 15px;
    }

    .mobile-auth-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .mobile-auth-buttons {
        gap: 15px;
    }

    .mobile-btn {
        padding: 14px 28px;
        font-size: 1rem;
        min-width: 140px;
    }

    .auth-buttons {
        display: none;
    }

    .hero-section {
        padding: 25px 5%;
        min-height: 75vh;
        text-align: center;
    }

    .hero-content {
        margin-bottom: 35px;
        max-width: 100%;
    }

    .hero-visual {
        height: 200px;
    }

    .features-section {
        padding: 60px 20px;
    }

    .features-cards {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .card {
        padding: 35px 30px;
        margin: 0 15px;
    }

    .card h3 {
        font-size: 1.4rem;
        margin-bottom: 18px;
    }

    .card p {
        font-size: 1.1rem;
        line-height: 1.7;
    }

    .card-icon {
        font-size: 3rem;
        margin-bottom: 22px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 15px 4%;
    }

    .mobile-auth-section {
        margin: 15px;
        padding: 25px 20px;
    }

    .mobile-auth-buttons {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    .mobile-btn {
        width: 100%;
        max-width: 280px;
        padding: 16px 25px;
    }

    .hero-section {
        padding: 20px 4%;
        min-height: 65vh;
    }

    .hero-content {
        padding: 0 10px;
    }

    .cta-button {
        width: 100%;
        max-width: 300px;
        padding: 18px 25px;
    }

    .features-section {
        padding: 50px 15px;
    }

    .card {
        margin: 0 10px;
        padding: 30px 25px;
    }
}