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

:root {
    --black: #000000;
    --deep-black: #0A0A0A;
    --dark-gray: #121212;
    --purple: #8B5CF6;
    --purple-light: #A78BFA;
    --purple-dark: #6D28D9;
    --white: #FFFFFF;
    --gray: #9CA3AF;
    --gray-light: #D1D5DB;
    --green: #10B981;
    --blue: #3B82F6;
}

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

html {
    scroll-behavior: smooth;
}

.purple-line {
    position: fixed;
    background: linear-gradient(180deg, transparent, var(--purple), transparent);
    width: 2px;
    height: 100vh;
    opacity: 0.3;
    z-index: 0;
}

.line-1 { left: 20%; }
.line-2 { left: 50%; }
.line-3 { left: 80%; }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    position: relative;
    z-index: 1;
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.1);
    padding: 1.5rem 0;
    z-index: 1000;
}

.nav-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    width: 45px;
    height: 45px;
    object-fit: contain;
}

.logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--purple);
}

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

.nav-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--purple);
    transition: width 0.3s;
}

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

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

.nav-actions {
    display: flex;
    gap: 1rem;
}

.nav-cta {
    background: var(--purple);
    color: var(--white);
    padding: 0.75rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
}

.nav-cta:hover {
    background: var(--purple-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.3);
}

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

.hero-content {
    max-width: 900px;
}

.hero-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 0.5rem 1.2rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--purple-light);
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -3px;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, var(--white), var(--purple-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
    font-weight: 400;
    line-height: 1.7;
}

.hero-highlight {
    background: rgba(16, 185, 129, 0.1);
    border-left: 4px solid var(--green);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin-bottom: 2.5rem;
}

.hero-highlight p {
    font-size: 1.1rem;
    color: var(--gray-light);
    margin-bottom: 0.5rem;
}

.hero-highlight strong {
    color: var(--green);
    font-size: 1.3rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.btn-primary {
    background: var(--purple);
    color: var(--white);
    padding: 1.2rem 3rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: var(--purple-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 1.2rem 3rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.05rem;
    border: 2px solid var(--gray);
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.btn-secondary:hover {
    border-color: var(--purple);
    color: var(--purple);
    transform: translateY(-3px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, auto);
    gap: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
}

.stat {
    text-align: left;
}

.stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--gray);
    font-weight: 500;
}

/* Live Event Banner */
.live-banner {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.1));
    border: 2px solid var(--purple);
    border-radius: 20px;
    padding: 3rem;
    margin: 5rem 0;
    position: relative;
    overflow: hidden;
}

.live-banner::before {
    content: '🔴 LIVE';
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: #EF4444;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.live-content {
    max-width: 800px;
}

.live-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.live-description {
    font-size: 1.2rem;
    color: var(--gray-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.live-details {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.live-detail {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1rem;
    color: var(--gray-light);
}

.live-detail-icon {
    font-size: 1.5rem;
}

/* Plans Section */
.section {
    padding: 8rem 0;
}

.section-header {
    margin-bottom: 5rem;
    text-align: center;
}

.section-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--purple);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.section-description {
    font-size: 1.2rem;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
}

.plan-card {
    background: var(--deep-black);
    border: 2px solid rgba(139, 92, 246, 0.2);
    border-radius: 24px;
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
}

.plan-card.featured {
    border-color: var(--purple);
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.2);
}

.plan-card.featured::before {
    content: 'MÁS POPULAR';
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--purple);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(139, 92, 246, 0.25);
}

.plan-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.plan-price-amount {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    color: var(--white);
    letter-spacing: -2px;
}

.plan-price-currency {
    font-size: 1.5rem;
    color: var(--gray);
}

.plan-price-period {
    font-size: 1.5rem;
    color: var(--gray);
}

.plan-annual {
    font-size: 1rem;
    color: var(--green);
    margin-bottom: 2rem;
    font-weight: 600;
}

.plan-description {
    color: var(--gray);
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-size: 1rem;
}

.plan-features {
    list-style: none;
    margin-bottom: 2.5rem;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.8rem 0;
    color: var(--gray-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.plan-features li::before {
    content: '✓';
    color: var(--green);
    font-weight: 900;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.plan-button {
    width: 100%;
    background: var(--purple);
    color: var(--white);
    padding: 1.2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.plan-button:hover {
    background: var(--purple-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.plan-card.featured .plan-button {
    background: linear-gradient(135deg, var(--purple), var(--blue));
}

/* Benefits Section */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}

.benefit-card {
    background: var(--deep-black);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    transition: all 0.4s;
}

.benefit-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15);
}

.benefit-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: block;
}

.benefit-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.benefit-description {
    color: var(--gray);
    line-height: 1.7;
}

/* Learning Path */
.learning-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.learning-card {
    background: var(--deep-black);
    border: 1px solid rgba(139, 92, 246, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
}

.learning-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--purple);
    transition: height 0.4s;
}

.learning-card:hover::before {
    height: 100%;
}

.learning-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-5px);
}

.learning-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    color: rgba(139, 92, 246, 0.2);
    line-height: 1;
    margin-bottom: 1rem;
}

.learning-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.learning-description {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.learning-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.learning-topic {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--purple-light);
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.team-card {
    background: var(--deep-black);
    border: 1px solid rgba(139, 92, 246, 0.15);
    border-radius: 20px;
    padding: 3.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--purple), transparent);
    opacity: 0;
    transition: opacity 0.4s;
}

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

.team-card:hover {
    border-color: rgba(139, 92, 246, 0.4);
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15);
}

.team-role {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--purple);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
}

.team-name {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.team-title {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.team-bio {
    color: var(--gray-light);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.team-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.skill-pill {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--purple-light);
    font-weight: 500;
    transition: all 0.3s;
}

.skill-pill:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--purple);
    transform: translateY(-2px);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(109, 40, 217, 0.05));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 30px;
    padding: 6rem;
    text-align: center;
    margin: 8rem 0;
}

.cta-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -2px;
}

.cta-description {
    font-size: 1.3rem;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Footer */
.footer {
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    padding: 4rem 0;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
    margin-bottom: 3rem;
    text-align: left;
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-tagline {
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-section-title {
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--purple);
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    color: var(--gray);
    font-size: 0.9rem;
}

/* ========================================
   CHATBOT FLOTANTE
   ======================================== */

/* Botón flotante del chatbot */
.chatbot-trigger {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    border-radius: 50%;
    border: 3px solid rgba(139, 92, 246, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    animation: float 3s ease-in-out infinite;
}

.chatbot-trigger:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.6);
    border-color: var(--purple-light);
}

.chatbot-trigger.active {
    background: linear-gradient(135deg, var(--purple-dark), var(--purple));
}

.chatbot-trigger-icon {
    width: 45px;
    height: 45px;
    object-fit: contain;
    filter: brightness(1.1);
}

/* Indicador de notificación */
.chatbot-notification {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 22px;
    height: 22px;
    background: #EF4444;
    border-radius: 50%;
    border: 3px solid var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    animation: pulse 2s infinite;
}

/* Ventana del chatbot */
.chatbot-window {
    position: fixed;
    bottom: 110px;
    right: 2rem;
    width: 420px;
    height: 600px;
    background: var(--deep-black);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 998;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.chatbot-window.active {
    display: flex;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

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

/* Header del chatbot */
.chatbot-header {
    background: linear-gradient(135deg, var(--purple), var(--purple-dark));
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.chatbot-header-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    padding: 3px;
}

.chatbot-header-info {
    flex: 1;
}

.chatbot-header-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.chatbot-header-status {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.chatbot-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    font-size: 1.3rem;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Cuerpo del chat */
.chatbot-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: var(--black);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chatbot-body::-webkit-scrollbar {
    width: 6px;
}

.chatbot-body::-webkit-scrollbar-track {
    background: rgba(139, 92, 246, 0.05);
}

.chatbot-body::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.3);
    border-radius: 3px;
}

.chatbot-body::-webkit-scrollbar-thumb:hover {
    background: rgba(139, 92, 246, 0.5);
}

/* Mensajes */
.chat-message {
    display: flex;
    gap: 0.8rem;
    animation: fadeIn 0.4s ease-out;
}

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

.chat-message.bot {
    align-self: flex-start;
}

.chat-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: contain;
    background: rgba(139, 92, 246, 0.1);
    padding: 3px;
    border: 2px solid rgba(139, 92, 246, 0.3);
}

.message-content {
    max-width: 75%;
}

.message-bubble {
    padding: 1rem 1.2rem;
    border-radius: 16px;
    font-size: 0.9rem;
    line-height: 1.6;
    word-wrap: break-word;
}

.chat-message.bot .message-bubble {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--gray-light);
    border-bottom-left-radius: 4px;
}

.chat-message.user .message-bubble {
    background: var(--purple);
    color: white;
    border-bottom-right-radius: 4px;
}

.message-time {
    font-size: 0.7rem;
    color: var(--gray);
    margin-top: 0.4rem;
    padding: 0 0.5rem;
}

/* Opciones rápidas */
.quick-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.5rem;
}

.quick-option {
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 0.6rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--purple-light);
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.quick-option:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--purple);
    transform: translateY(-2px);
}

/* Indicador de escritura */
.typing-indicator {
    display: none;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.2rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    border-bottom-left-radius: 4px;
    max-width: 75%;
}

.typing-indicator.active {
    display: flex;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--purple-light);
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Footer del chat (input) */
.chatbot-footer {
    padding: 1.2rem;
    background: var(--deep-black);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    display: flex;
    gap: 0.8rem;
    align-items: center;
}

.chatbot-input {
    flex: 1;
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    color: var(--white);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    outline: none;
    transition: all 0.3s;
}

.chatbot-input::placeholder {
    color: var(--gray);
}

.chatbot-input:focus {
    border-color: var(--purple);
    background: rgba(139, 92, 246, 0.1);
}

.chatbot-send {
    width: 44px;
    height: 44px;
    background: var(--purple);
    border: none;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s;
    flex-shrink: 0;
}

.chatbot-send:hover {
    background: var(--purple-light);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.chatbot-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Toast de bienvenida */
.chatbot-welcome-toast {
    position: fixed;
    bottom: 110px;
    right: 2rem;
    max-width: 280px;
    background: var(--deep-black);
    border: 2px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 1.2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    display: none;
    z-index: 997;
    animation: slideIn 0.5s ease-out;
}

.chatbot-welcome-toast.active {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.welcome-toast-header {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    margin-bottom: 0.8rem;
}

.welcome-toast-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid rgba(139, 92, 246, 0.3);
    object-fit: contain;
    background: rgba(139, 92, 246, 0.1);
    padding: 3px;
}

.welcome-toast-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--purple-light);
}

.welcome-toast-message {
    font-size: 0.85rem;
    color: var(--gray-light);
    line-height: 1.5;
    margin-bottom: 0.8rem;
}

.welcome-toast-close {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    background: none;
    border: none;
    color: var(--gray);
    cursor: pointer;
    font-size: 1.2rem;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    border-radius: 50%;
}

.welcome-toast-close:hover {
    background: rgba(139, 92, 246, 0.1);
    color: var(--white);
}

/* Responsive Chatbot */
@media (max-width: 768px) {
    .chatbot-trigger {
        width: 60px;
        height: 60px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .chatbot-trigger-icon {
        width: 38px;
        height: 38px;
    }

    .chatbot-window {
        bottom: 90px;
        right: 1.5rem;
        left: 1.5rem;
        width: auto;
        height: 500px;
    }

    .chatbot-welcome-toast {
        bottom: 90px;
        right: 1.5rem;
        left: 1.5rem;
        max-width: none;
    }

    .message-content {
        max-width: 85%;
    }
}

@media (max-width: 480px) {
    .chatbot-window {
        bottom: 0;
        right: 0;
        left: 0;
        top: 0;
        width: 100%;
        height: 100vh;
        border-radius: 0;
        border: none;
    }

    .chatbot-trigger {
        bottom: 1rem;
        right: 1rem;
    }

    .chatbot-welcome-toast {
        bottom: 80px;
        right: 1rem;
        left: 1rem;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .container, .nav-content {
        padding: 0 2rem;
    }
    .hero-title {
        font-size: 4rem;
    }
    .plans-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }
    .benefits-grid,
    .learning-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .nav-actions {
        gap: 0.5rem;
    }
    .nav-cta {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    .hero-title {
        font-size: 3rem;
        letter-spacing: -2px;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .hero-buttons {
        flex-direction: column;
    }
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .section-title {
        font-size: 2.5rem;
    }
    .benefits-grid,
    .learning-grid {
        grid-template-columns: 1fr;
    }
    .live-details {
        flex-direction: column;
        gap: 1rem;
    }
    .cta-section {
        padding: 3rem 2rem;
    }
    .cta-title {
        font-size: 2rem;
    }
    .cta-buttons {
        flex-direction: column;
    }
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}