/* ===================================================
   VARIABLES Y CONFIGURACIÓN BASE
   =================================================== */
:root {
    --primary: #ff1100ee;
    --primary-dark: #6a0404e3;
    --primary-light: #e0f2fe;
    --secondary: #f8fafc;
    --dark: #0f172a;
    --gray: #64748b;
    --light-gray: #e2e8f0;
    --white: #ffffff;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --border-radius: 0.5rem;
    --prueba: #1e213d;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}


/* ===================================================
   RESET Y ESTILOS GENERALES
   =================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'FuentePrueba';
    color: var(--dark);
    line-height: 1.5;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* ===================================================
   TIPOGRAFÍA
   =================================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.section-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.section-description {
    font-size: 0.95rem;
    color: var(--white);
    max-width: 1165px;
    margin: 0 auto;
    font-weight: 500;
}

/* ===================================================
   BOTONES
   =================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    font-size: 1rem;
    font-family: 'FuentePrueba';
}

.btn-primary:hover {
    background-color: var(--primary-dark);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary-light);
}

.btn-light {
    background-color: var(--white);
    color: var(--primary);
    font-weight: 700;

}

.btn-light:hover {
    background-color: var(--secondary);
}

.btn-outline-light {
    background-color: transparent;
    border: 1px solid var(--white);
    color: var(--white);
    font-weight: 700;

}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
}

.btn-icon {
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.btn-icon:hover {
    background-color: var(--light-gray);
}

/* ===================================================
   BADGES
   =================================================== */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    background-color: var(--primary);
    color: var(--white);
    margin-bottom: 0.5rem;
}

.badge-light {
    background-color: var(--white);
    color: var(--primary);
}

/* ===================================================
                HEADER Y NAVEGACIÓN
   =================================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: var(--dark);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 4rem;
    font-family: 'FuentePrueba', sans-serif;
    color: #fff;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 4rem;
    width: auto;
}

.main-nav {
    display: flex;
    font-family: 'FuentePrueba', sans-serif;
    font-size: 20px;
}

.nav-list {
    display: flex;
    gap: 1.1rem;
}

.nav-link {
    font-size: 1.1rem;
    font-weight: 550;
    transition: color 0.3s ease;
    font-family: 'FuentePrueba', sans-serif;
    position: relative;
    padding: 0.3rem 0.8rem;
}

.nav-link:hover {
    color: var(--primary);
}

/* Estilos para los enlaces activos en la navegación */
.nav-link.active {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    width: calc(100% - 1rem);
    height: calc(100% - 0.5rem);
    background-color: var(--primary);
    border-radius: 20px;
    left: 0.5rem;
    top: 0.25rem;
    z-index: -1;
    transform-origin: left center;
    animation: slideIn 0.3s ease-out forwards;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-family: 'FuentePrueba';
    font-size: 20px;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    color: #fff;
}

/* ===================================================
                        MENÚ MÓVIL
   =================================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 300px;
    height: 100%;
    background-color: var(--dark);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 2rem 1rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.mobile-nav-list .nav-link {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: var(--border-radius);
    color: #fff;
}

.mobile-nav-list .nav-link:hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

/* Estilos para el enlace activo en el menú móvil */
.mobile-nav-list .nav-link.active {
    background-color: var(--primary);
    color: var(--white);
}

.mobile-nav-list .nav-link.active::after {
    content: "";
    position: absolute;
    width: calc(100% - 2rem);
    height: calc(100% - 0.5rem);
    background-color: var(--primary);
    border-radius: 20px;
    left: 1rem;
    top: 0.25rem;
    z-index: -1;
    animation: slideIn 0.3s ease-out forwards;
}

.mobile-menu.active .mobile-menu-content {
    transform: translateX(0);
}

.mobile-menu-container {
    padding-top: 2rem;
}

.close-menu {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--dark);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 101;
    padding: 0.5rem;
    color: #fff;
}

.close-menu:hover {
    color: var(--primary);
}

/* ===================================================
   SECCIÓN HERO
   =================================================== */
.hero-section {
    position: relative;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 5rem 0;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.hero-title {
    font-size: 2.25rem;
    margin-bottom: 1rem;
    font-family: 'FuentePrueba'
}

.hero-subtitle {
    display: block;
    font-size: 1.25rem;
    font-weight: 400;
    margin-top: 0.5rem;
    font-family: sans-serif;
}

.hero-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    max-width: 32rem;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatars {
    display: flex;
    margin-right: 0.5rem;
}

.user-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
    margin-left: -0.5rem;
    border: 2px solid var(--white);
}

.user-avatar:first-child {
    margin-left: 0;
}

.stats-text {
    font-size: 0.95rem;
}

.stats-number {
    font-weight: 500;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

.rating i {
    color: #fbbf24;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    max-width: 100%;
}

.decoration-circle {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
}

.decoration-circle-1 {
    width: 8rem;
    height: 8rem;
    bottom: -2rem;
    right: -2rem;
}

.decoration-circle-2 {
    width: 6rem;
    height: 6rem;
    top: -2rem;
    left: -2rem;
}

/* ===================================================
   SECCIÓN DE CARACTERÍSTICAS
   =================================================== */
.features-section {
    padding: 4rem 0;
    background-color: var(--primary-light);
}

.section-header {
    font-family: 'FuentePrueba';
    margin-bottom: 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-description {
    color: var(--gray);
    font-size: 0.95rem;
}

/* ===================================================
   SECCIÓN DE SERVICIOS
   =================================================== */
.services-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.service-card {
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 300px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-card-popular {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: var(--shadow-lg);
}

.popular-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
}

.service-card-header {
    padding: 1.5rem;
    background-color: var(--primary-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-title {
    font-size: 1.1rem;
}

.service-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--primary);
}

.service-card-content {
    padding: 1.5rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.service-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.check-icon {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.check-icon::before {
    content: '';
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background-color: var(--primary);
}

.service-card-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--light-gray);
    margin-top: auto;
}

/* ===================================================
   SECCIÓN VIP
   =================================================== */
.vip-section {
    padding: 4rem 0;
    background: linear-gradient(to right, var(--primary), var(--primary-dark));
    color: var(--white);
}

.vip-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.vip-plan-card {
    border-radius: var(--border-radius);
    background-color: rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.vip-plan-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.vip-plan-popular {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: var(--shadow);
}

.vip-plan-header {
    padding: 1.5rem;
    background-color: rgba(255, 255, 255, 0.1);
    text-align: center;
}

.vip-plan-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.vip-plan-price {
    font-size: 1.35rem;
    font-weight: 700;
}

.vip-plan-content {
    padding: 1.5rem;
}

.vip-plan-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.vip-plan-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.vip-plan-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

/* ===================================================
   SECCIÓN DE RECOMPENSAS
   =================================================== */
.rewards-section {
    padding: 4rem 0;
    background-color: var(--white);
}

.rewards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.rewards-subtitle {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
}

.rewards-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.rewards-step {
    display: flex;
    gap: 1rem;
}

.step-number {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-title {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.step-description {
    color: var(--gray);
    font-size: 0.95rem;
}

.rewards-missions {
    background-color: var(--secondary);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.missions-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mission-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--light-gray);
}

.mission-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.mission-title {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.mission-description {
    color: var(--gray);
    font-size: 0.95rem;
}

.mission-reward {
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 0.25rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

/* ===================================================
   SECCIÓN DE TESTIMONIOS
   =================================================== */
.testimonials-section {
    padding: 4rem 0;
    background-color: var(--primary-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    color: var(--primary);
    opacity: 0.4;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-content {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.author-role {
    color: var(--gray);
    font-size: 0.875rem;
}


/* ===================================================
                        FOOTER
   =================================================== */
.footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 4rem 0 2rem;
    font-family: 'FuentePrueba';
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-description {
    color: rgba(255, 255, 255, 0.6);
    margin: 1rem 0;
    font-size: 0.95rem;
}

.footer-title {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.footer-link {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--white);
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    border: none;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* ===================================================
   FUENTES
   =================================================== */
@font-face {
    font-family: 'FuentePrueba';
    src: url('/fonts/Quicksand-VariableFont_wght.ttf') format('truetype');
    font-style: normal;
}

/* ===================================================
   ANIMACIONES
   =================================================== */
@keyframes slideIn {
    0% {
        transform: scaleX(0);
        opacity: 0;
    }
    100% {
        transform: scaleX(1);
        opacity: 1;
    }
}
/* ===================================================
   MEDIA QUERIES
   =================================================== */
@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}
@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }}

@media (min-width: 768px) {

    .hero-content {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }

    .rewards-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .logo-icon {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 2.5rem;
    }

    .logo-text {
        font-size: 1.5rem;
    }
}

