:root {
    --bg-color: #0d0d1a;
    --bg-card: #16162d;
    --bg-card-hover: #1c1c3a;
    --primary: #6C3CE1;
    --secondary: #00D4FF;
    --text-color: #ffffff;
    --text-muted: #b0b0cc;
    --error: #FF6B6B;
    --success: #00e676;
    --gradient: linear-gradient(135deg, #6C3CE1 0%, #00D4FF 100%);
    --shadow-glow: 0 0 15px rgba(108, 60, 225, 0.3);
    --transition: all 0.3s ease;
    
    /* Nuevos colores Aurora */
    --color-coral: #FF6B6B;
    --color-naranja: #FF8C42;
    --color-morado: #6C3CE1;
    --color-cian: #00D4FF;
    --color-lima: #A8E063;
    --color-verde: #7FD858;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Layout */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

/* Header & Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(13, 13, 26, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
    transition: var(--transition);
}

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

.logo {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-color);
}

.nav-auth {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Buttons */
.btn {
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    display: inline-block;
}

.btn-text {
    color: var(--text-color);
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(108, 60, 225, 0.5);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--text-color);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(108, 60, 225, 0.1);
}

/* Aurora Background Halos */
.aurora-halos {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.halo {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.25;
    animation: aurora-float 20s infinite alternate ease-in-out;
}

.halo-1 {
    width: 400px;
    height: 400px;
    background: var(--color-coral);
    top: -10%;
    left: -10%;
    animation-duration: 25s;
}

.halo-2 {
    width: 500px;
    height: 500px;
    background: var(--color-morado);
    bottom: -10%;
    right: -5%;
    animation-duration: 30s;
    animation-delay: -5s;
}

.halo-3 {
    width: 350px;
    height: 350px;
    background: var(--color-cian);
    top: 20%;
    right: 15%;
    animation-duration: 22s;
    animation-delay: -2s;
}

.halo-4 {
    width: 450px;
    height: 450px;
    background: var(--color-lima);
    bottom: 10%;
    left: 20%;
    animation-duration: 28s;
    animation-delay: -10s;
}

@keyframes aurora-float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, 30px) scale(1.1); }
    66% { transform: translate(-30px, 50px) scale(0.9); }
    100% { transform: translate(20px, -40px) scale(1.05); }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-container {
    z-index: 2;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
}

.hero-title {
    grid-column: 1;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-visual {
    grid-column: 2;
    grid-row: 1 / 3;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.hero-text {
    grid-column: 1;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
}

/* Voice Animation */
.voice-waves {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 180px;
}

.wave {
    width: 10px;
    height: 30%;
    background: linear-gradient(
        to bottom,
        var(--color-coral),
        var(--color-morado),
        var(--color-cian),
        var(--color-lima),
        var(--color-coral)
    );
    background-size: 100% 400%;
    border-radius: 50px;
    animation: 
        wave-anim 1.5s ease-in-out infinite,
        wave-color 8s linear infinite;
    box-shadow: 0 0 15px rgba(108, 60, 225, 0.2);
}

.wave:nth-child(2) { animation-delay: 0.1s; height: 50%; }
.wave:nth-child(3) { animation-delay: 0.2s; height: 80%; }
.wave:nth-child(4) { animation-delay: 0.3s; height: 60%; }
.wave:nth-child(5) { animation-delay: 0.4s; height: 40%; }
.wave:nth-child(6) { animation-delay: 0.5s; height: 70%; }
.wave:nth-child(7) { animation-delay: 0.6s; height: 50%; }
.wave:nth-child(8) { animation-delay: 0.7s; height: 30%; }

@keyframes wave-anim {
    0%, 100% { height: 30%; transform: scaleY(1); }
    50% { height: 100%; transform: scaleY(1.1); }
}

@keyframes wave-color {
    0% { background-position: 0% 0%; }
    100% { background-position: 0% 100%; }
}

/* Soporte para reducción de movimiento */
@media (prefers-reduced-motion: reduce) {
    .halo, .wave {
        animation: none !important;
    }
    .wave {
        height: 60% !important;
        background-position: center !important;
    }
}

/* Mobile Responsive */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.card {
    background: var(--bg-card);
    padding: 30px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    text-align: center;
}

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

.card i {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--secondary);
}

.card h3 {
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.card p {
    color: var(--text-muted);
}

/* Steps Section */
.steps-container {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    position: relative;
}

.step {
    flex: 1;
    text-align: center;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-glow);
}

/* Planes Section */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.plan-card {
    background: var(--bg-card);
    padding: 30px 20px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.plan-card.popular {
    border: 2px solid var(--primary);
    transform: scale(1.05);
    z-index: 5;
    background: #1a1a3a;
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
}

.plan-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.plan-price {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.plan-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-limit {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-muted);
}

.plan-features li i {
    color: var(--success);
    font-size: 1rem;
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.faq-question {
    padding: 20px 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-card-hover);
}

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0, 1, 0, 1);
    color: var(--text-muted);
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 25px 20px;
    transition: all 0.5s cubic-bezier(1, 0, 1, 0);
}

.faq-icon {
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Footer */
footer {
    background: #060610;
    padding: 60px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-links h4 {
    margin-bottom: 20px;
    font-weight: 700;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--text-color);
}

.footer-links ul li a i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.admin-link {
    display: inline-block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 15px;
    transition: var(--transition);
}

.admin-link:hover {
    color: var(--secondary);
}

.admin-link i {
    margin-right: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Forms (Contact Page) */
.form-group {
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    outline: none;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.1);
}

textarea.form-control {
    min-height: 150px;
}

.alert {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.alert-success {
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid var(--success);
    color: var(--success);
}

/* Floating Scroll Buttons */
.scroll-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2000;
}

.scroll-btn {
    width: 45px;
    height: 45px;
    background: var(--gradient);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    opacity: 0.8;
}

.scroll-btn:hover {
    transform: scale(1.1);
    opacity: 1;
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .aurora-halos { opacity: 0.6; }
    .halo { filter: blur(60px); width: 250px; height: 250px; }
    
    .hero {
        padding-top: 120px;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .hero-title {
        grid-column: 1;
        grid-row: 1;
        font-size: 2.2rem;
        margin-bottom: 10px;
    }
    
    .hero-visual {
        grid-column: 1;
        grid-row: 2;
        margin: 20px 0;
        order: initial;
    }
    
    .hero-text {
        grid-column: 1;
        grid-row: 3;
    }
    
    .hero-text p {
        font-size: 1.1rem;
        margin: 0 auto 30px;
    }
    
    .nav-links { display: none; }
    
    .nav-auth {
        gap: 8px;
    }
    
    .nav-auth .btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .section-title { font-size: 2rem; }
    .steps-container { flex-direction: column; }
    .step::after { display: none; }
    .plan-card.popular { transform: scale(1); }
}
