:root {
    /* Brand Colors */
    --primary: #9469a2;
    --primary-dark: #7a5288;
    --secondary: #6a9393;
    --secondary-light: #b2d1d1;
    --accent: #ffd700;
    /* Gold for premium touches */

    /* Backgrounds */
    --bg-page: #fdfaf5;
    --bg-white: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.7);

    /* Text */
    --text-main: #2d3436;
    --text-muted: #636e72;
    --text-light: #b2bec3;

    /* Shadows */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 50px rgba(148, 105, 162, 0.15);
    --shadow-glow: 0 0 20px rgba(148, 105, 162, 0.4);

    /* Transitions */
    --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Utilities */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.relative {
    position: relative;
}

.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.glass-card {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-sm);
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

.main-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--primary);
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-md);
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-primary.small {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
}

.btn-secondary {
    background: transparent;
    color: var(--text-main);
    padding: 0.8rem 2rem;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 50px;
    font-weight: 600;
    margin-left: 1rem;
}

.btn-secondary:hover {
    border-color: var(--text-main);
    background: rgba(0, 0, 0, 0.05);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    /* Header space */
    color: var(--text-main);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cover-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(253, 250, 245, 0.9), rgba(253, 250, 245, 0.4) 50%, rgba(253, 250, 245, 1));
}

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

.hero-tag {
    display: inline-block;
    background: rgba(148, 105, 162, 0.1);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.hero-desc {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.hero-actions {
    margin-bottom: 4rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 2rem;
    background: var(--bg-glass);
    border-radius: 20px;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: var(--shadow-sm);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 2rem;
    color: var(--text-main);
}

.stat-lbl {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-line {
    width: 1px;
    height: 40px;
    background: rgba(0, 0, 0, 0.1);
}

/* Methodology */
.methodology-section {
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    padding: 2.5rem;
    border-radius: 20px;
    transition: transform 0.3s ease;
    text-align: left;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.icon-box {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

/* Courses Section */
.courses-section {
    padding: 4rem 0 8rem;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.course-card {
    background: var(--bg-white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s var(--ease-out);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
}

.card-media {
    height: 250px;
    position: relative;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .card-media img {
    transform: scale(1.05);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    color: var(--text-main);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.card-body {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.topic-tag {
    background: rgba(106, 147, 147, 0.1);
    color: var(--secondary);
    padding: 0.2rem 0.8rem;
    border-radius: 4px;
    font-weight: 600;
}

.course-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.course-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.card-footer {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rating {
    font-size: 0.9rem;
    font-weight: 600;
}

.btn-link {
    color: var(--primary);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-link:hover .arrow {
    transform: translateX(5px);
}

.arrow {
    transition: transform 0.3s ease;
}

/* Coming Soon Styles */
.coming-soon .card-media {
    filter: grayscale(0.8);
}

.overlay-lock {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 700;
    backdrop-filter: blur(2px);
}

.lock-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.waitlist-text {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
}

/* Trust Section */
.trust-section {
    padding: 6rem 0;
    background: white;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.review-item {
    background: var(--bg-page);
    padding: 2rem;
    border-radius: 12px;
    font-style: italic;
}

.review-item .user {
    margin-top: 1rem;
    font-weight: 600;
    font-style: normal;
    color: var(--primary);
}

/* Footer */
.main-footer {
    padding: 8rem 0 3rem;
    margin-top: -4rem;
    background: #1a1620;
    background: linear-gradient(180deg, #1a1620 0%, #0f1a1a 100%);
    /* Gradiente sutil entre el oscuro del teal y el oscuro del purpura */
    color: white;
    position: relative;
    overflow: hidden;
    clip-path: ellipse(130% 100% at 50% 100%);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
}

.footer-slogan {
    font-size: 1.1rem;
    opacity: 0.8;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.footer-divider {
    width: 60px;
    height: 3px;
    background: var(--primary);
    border-radius: 50px;
    margin: 1rem 0;
}

.footer-lang {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.footer-lang .lang-label {
    opacity: 0.85;
}

.footer-lang .lang-link {
    color: var(--secondary-light);
    text-decoration: none;
}

.footer-lang .lang-link:hover {
    text-decoration: underline;
}

.footer-lang .lang-link.active {
    font-weight: 600;
    color: #fff;
}

.footer-lang .lang-sep {
    opacity: 0.5;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.social-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: transform 0.35s var(--ease-out), background 0.3s, border-color 0.3s, box-shadow 0.3s;
    backdrop-filter: blur(5px);
}

.social-btn svg {
    width: 26px;
    height: 26px;
    transition: transform 0.35s var(--ease-out);
}

.social-btn:hover {
    transform: translateY(-6px) scale(1.08) rotate(5deg);
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 12px 24px rgba(148, 105, 162, 0.35);
}

.social-btn:hover svg {
    transform: scale(1.1);
}

.social-btn.insta:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 12px 24px rgba(220, 39, 67, 0.35);
    border-color: transparent;
}

.social-btn.face:hover {
    background: #1877f2;
    box-shadow: 0 12px 24px rgba(24, 119, 242, 0.35);
    border-color: transparent;
}

.social-btn.tiktok:hover {
    background: #000;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
    border-color: transparent;
}

.social-btn.youtube:hover {
    background: #ff0000;
    box-shadow: 0 12px 24px rgba(255, 0, 0, 0.4);
    border-color: transparent;
}

.footer-bottom {
    text-align: center;
    opacity: 0.6;
    font-size: 0.9rem;
}

.love {
    margin-top: 0.75rem;
    font-size: 0.85rem;
    display: block;
}

/* Animations Class */
.fade-in-up {
    animation: fadeInUp 1s var(--ease-out);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Scroll Reveal */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out);
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero {
        padding-top: 60px;
        text-align: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .stat-line {
        width: 100%;
        height: 1px;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
        display: flex;
    }

    .btn-secondary {
        margin-left: 0;
    }
}

/* Floating WhatsApp Button */
.whatsapp-float {
    position: fixed;
    bottom: calc(24px + env(safe-area-inset-bottom, 0));
    right: max(20px, env(safe-area-inset-right));
    width: 56px;
    height: 56px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
}

.whatsapp-float:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.whatsapp-float img {
    width: 32px;
    height: 32px;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 52px;
        height: 52px;
        bottom: calc(20px + env(safe-area-inset-bottom, 0));
    }
    .whatsapp-float img {
        width: 28px;
        height: 28px;
    }
}