/* style.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #7B2CBF;
    --primary-dark: #5A1E8F;
    --primary-light: #9D4EDD;
    --secondary: #FF6B6B;
    --accent: #4ECDC4;
    --dark: #1A1A2E;
    --gray-dark: #2C2C3A;
    --gray: #6C6C7A;
    --light: #F8F9FA;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, #7B2CBF 0%, #9D4EDD 50%, #C77DFF 100%);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.16);
    --radius: 20px;
    --radius-sm: 12px;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Header tipo app */
.app-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 20px;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.logo i {
    color: var(--primary);
    background: none;
    -webkit-background-clip: unset;
    background-clip: unset;
}

.menu-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.menu-btn:hover {
    background: var(--light);
}

/* Menú lateral */
.side-menu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: var(--white);
    z-index: 1001;
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.side-menu.open {
    right: 0;
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.menu-header h3 {
    color: var(--primary);
}

.close-menu {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray);
}

.side-menu nav {
    flex: 1;
    padding: 20px;
}

.side-menu nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.side-menu nav a:hover,
.side-menu nav a.active {
    color: var(--primary);
}

.side-menu nav a i {
    width: 24px;
}

.menu-contacto {
    padding: 20px;
    border-top: 1px solid #eee;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 30px;
    font-weight: 600;
    transition: transform 0.3s;
}

.whatsapp-btn:hover {
    transform: scale(1.02);
}

/* Main content */
main {
    padding-top: 70px;
    max-width: 500px;
    margin: 0 auto;
}

/* Hero Section */
.hero {
    padding: 30px 20px;
    text-align: center;
    background: linear-gradient(180deg, var(--light) 0%, #fff 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(123, 44, 191, 0.1);
    padding: 8px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.hero-badge i {
    color: var(--primary);
    font-size: 0.875rem;
}

.hero-badge span {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.2;
}

.hero-title span {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-subtitle {
    color: var(--gray);
    font-size: 1rem;
    margin-bottom: 24px;
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.info-card {
    background: var(--white);
    padding: 12px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-sm);
}

.info-card i {
    font-size: 1.25rem;
    color: var(--primary);
}

.info-card .label {
    font-size: 0.7rem;
    color: var(--gray);
    display: block;
}

.info-card strong {
    font-size: 0.85rem;
    display: block;
}

.info-card.highlight {
    background: var(--gradient);
    color: white;
}

.info-card.highlight i,
.info-card.highlight .label {
    color: rgba(255, 255, 255, 0.9);
}

.info-card.highlight strong {
    color: white;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-primary, .btn-secondary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-primary {
    background: var(--gradient);
    color: white;
    box-shadow: 0 4px 15px rgba(123, 44, 191, 0.3);
}

.btn-secondary {
    background: white;
    color: #25D366;
    border: 1px solid #25D366;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 40px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.section-header {
    text-align: center;
    margin-bottom: 32px;
}

.section-badge {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--primary);
    background: rgba(123, 44, 191, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--gray);
    font-size: 0.875rem;
}

/* Course Info */
.course-info-grid {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.info-text p {
    margin-bottom: 16px;
    color: var(--gray-dark);
    line-height: 1.6;
}

.stats-grid {
    display: flex;
    justify-content: space-around;
    margin-top: 24px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.05) 0%, rgba(157, 78, 221, 0.05) 100%);
    border-radius: var(--radius);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    font-size: 0.7rem;
    color: var(--gray);
}

.info-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.feature {
    text-align: center;
}

.feature i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 8px;
}

.feature h4 {
    font-size: 0.75rem;
    margin-bottom: 4px;
}

.feature p {
    font-size: 0.7rem;
    color: var(--gray);
}

/* Benefits */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.benefit-card {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-sm);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.benefit-card:hover {
    transform: translateY(-4px);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: rgba(123, 44, 191, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.benefit-icon i {
    font-size: 1.25rem;
    color: var(--primary);
}

.benefit-card h3 {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.benefit-card p {
    font-size: 0.75rem;
    color: var(--gray);
}

/* Facilitador */
.facilitador-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.facilitador-image {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    padding: 30px;
    text-align: center;
}

.facilitador-image i {
    font-size: 4rem;
    color: white;
}

.facilitador-info {
    padding: 24px;
}

.facilitador-badge {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--primary);
    background: rgba(123, 44, 191, 0.1);
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}

.facilitador-info h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.facilitador-title {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 0.875rem;
}

.facilitador-info p {
    color: var(--gray-dark);
    margin-bottom: 12px;
    line-height: 1.6;
}

.facilitador-stats {
    display: flex;
    gap: 24px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.facilitador-stats div {
    text-align: center;
}

.facilitador-stats span:first-child {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.facilitador-stats span:last-child {
    font-size: 0.7rem;
    color: var(--gray);
}

/* Registro */
.register-section {
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.05) 0%, rgba(157, 78, 221, 0.05) 100%);
}

.register-container {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.register-info h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.register-info > p {
    color: var(--gray);
    margin-bottom: 20px;
}

.register-details {
    background: var(--white);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item i {
    width: 24px;
    color: var(--primary);
}

.detail-item.highlight {
    color: var(--primary);
    font-weight: 600;
}

.register-form {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-md);
}

.register-form h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    text-align: center;
}

.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 14px 14px 14px 42px;
    border: 1px solid #e0e0e0;
    border-radius: 50px;
    font-size: 0.875rem;
    transition: all 0.3s;
    background: var(--light);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(123, 44, 191, 0.1);
}

.form-group i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
}

.btn-register {
    width: 100%;
    padding: 14px;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(123, 44, 191, 0.3);
}

.form-note {
    font-size: 0.7rem;
    color: var(--gray);
    text-align: center;
    margin-top: 12px;
}

.form-message {
    margin-top: 12px;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    text-align: center;
}

.form-message.success {
    background: rgba(78, 205, 196, 0.1);
    color: #2c7a6e;
}

.form-message.error {
    background: rgba(255, 107, 107, 0.1);
    color: #c92a2a;
}

/* FAQ */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    cursor: pointer;
    font-weight: 600;
}

.faq-question i {
    transition: transform 0.3s;
    color: var(--primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 16px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 16px 16px 16px;
}

.faq-answer p {
    color: var(--gray);
    font-size: 0.875rem;
}

/* Footer */
.app-footer {
    background: var(--dark);
    color: white;
    padding: 32px 20px;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
    font-size: 1rem;
    font-weight: 600;
}

.footer-logo i {
    color: var(--primary-light);
}

.footer-contact {
    margin-bottom: 16px;
}

.footer-contact a {
    color: #25D366;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-contact a:hover {
    text-decoration: underline;
}

.app-footer p {
    font-size: 0.7rem;
    color: var(--gray);
}

/* WhatsApp Flotante */
.floating-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 12px 20px;
    border-radius: 50px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: transform 0.3s;
    font-size: 0.875rem;
}

.floating-whatsapp:hover {
    transform: scale(1.05);
}

.floating-whatsapp i {
    font-size: 1.25rem;
}

/* Responsive */
@media (min-width: 768px) {
    main, .header-content {
        max-width: 800px;
    }
    
    .info-cards {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .benefits-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .register-container {
        flex-direction: row;
    }
    
    .register-info, .register-form {
        flex: 1;
    }
    
    .course-info-grid {
        flex-direction: row;
    }
    
    .info-text {
        flex: 1.5;
    }
    
    .info-features {
        flex: 1;
        display: flex;
        flex-direction: column;
    }
    
    .feature {
        display: flex;
        text-align: left;
        gap: 12px;
    }
    
    .feature i {
        margin-bottom: 0;
    }
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero, .section {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Overlay para menú */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.menu-overlay.active {
    display: block;
}