:root {
    --primary-color: #3B39DD;
    --primary-color-dark: #353672;
    --secondary-color: #2CCF8C;
    --background-light: #FFFCF5;
    --text-color: #333333;
    --background-yellow-light: #FCF2C0;
    --background-yellow: #FFE97D;
    --background-purple-light: #EDE8FF;
    --background-purple: #545988;
    --background-blue: #AAF9DE;
    --background-blue-light: #E5FFF6;
    --background-brown-light: #F9D7AA;
    --background-brown: #A8887E;
    --background-green-light: #D1F9AA;
    --background-beige: #F3EFD6;
    --background-orange: #FF9C7D;
    --background-red: #E87571;
}

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

body {
    font-family: 'Poppins', sans-serif, Arial;
    line-height: 1.6;
    background-color: var(--background-light);
}

h1 {
    font-size: 45px;
    line-height: 1.1;
    font-weight: 600;
    color: var(--primary-color);
}

h2 {
    font-size: 40px;
    line-height: 1.1;
    font-weight: 600;
    color: var(--primary-color);
}
h3 {
    font-size: 35px;
    line-height: 1.1;
    font-weight: 600;
    color: var(--primary-color-dark);
}
@media (min-width: 1024px) {
    h1 {
        font-size: 5rem;
    }
    h2 {
        font-size: 4rem;
    }
    h3 {
        font-size: 2.5rem;
    }
}

/* Header Styles */
header {
    padding: 1rem 2rem;
    margin: 20px;
    max-width: 1440px;
    background: var(--background-beige);
    position: sticky;
    top: 20px;
    z-index: 100;
    border-radius: 100px;
}


nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.nav-items {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    justify-content: space-between;
}
nav .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    justify-content: space-between;
}
nav .nav-links .nav-box {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-direction: column;
}
@media (min-width: 1024px) {
    header {
        margin: 20px auto;
    }
    nav .nav-links .nav-box {
        flex-direction: row;
    }
}
nav .logo {
    width: 100px;
    margin-right: 2rem;
}
nav a{
    text-decoration: none;
    color: var(--primary-color-dark);
}
nav .nav-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
nav .nav-cta .cta-agenda {
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

section .wrapper {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    flex-flow:column-reverse;
}

@media (min-width: 1024px) {
    section .wrapper {
        flex-direction: row;
    }
}
.responsive-image {
    width: 100%;
    height: auto;
}

/* Section */
section {
    display: flex;
    padding: 5rem 5%;
}
.content {
    flex: 1;
    padding-right: 2rem;
    gap: 20px;
    display: flex;
    flex-flow: wrap;
}

.image {
    flex: 1;
}




/* Feature Cards */

.features .wrapper {
    flex-direction: column;
}

.features-grid {
    /* max-width: 1200px; */
    margin: 50px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Column size classes */
.col-1-4 {
    grid-column: span 1; /* Takes up 1/4 of the grid */
}

.col-2-4 {
    grid-column: span 2; /* Takes up 2/4 of the grid */
}

.col-3-4 {
    grid-column: span 3; /* Takes up 3/4 of the grid */
}

.col-4-4 {
    grid-column: span 4; /* Takes up 4/4 (full width) of the grid */
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .col-3-4, .col-4-4 {
        grid-column: span 2;
    }
}

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .col-2-4, .col-3-4, .col-4-4 {
        grid-column: span 1;
    }
}

.feature-card {
    background: #fff;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
}

.feature-card .image {
    margin-top: 1rem;
    display: flex;
    justify-content: end;
    align-items: end;
}

.feature-card .image img {
    width: 100%;
    max-width: 180px;
}
@media (min-width: 1024px) {
    .feature-card .image img {
        max-width: 280px;
    }
}
.feature-card .title {
    font-size: 30px;
    padding: 2rem;
    line-height: 1;
    font-weight: 600;
    color: #FFFFFF;
}

.feature-card.hl-ofertas {
    background-color: var(--background-brown-light);
}
.feature-card.hl-ofertas .title{
    color: var(--background-red);
}
.feature-card.hl-envios {
    background-color: var(--background-yellow);
}
.feature-card.hl-envios .title{
    color: var(--background-orange);
}
.feature-card.hl-envios .image img{
    max-width: 150px;
    margin-right: 50px;
    margin-bottom: 50px;
}
.feature-card.hl-landing {
    background-color: var(--background-orange);
}   
.feature-card.hl-landing .title{
    color: #FFFFFF;
}
.feature-card.hl-nfc {
    background: url('../img/hl-tools-nfc.jpg') no-repeat center center var(--background-brown-light);
    background-size: cover;
    justify-content: end;
    min-height: 300px;
}
.feature-card.hl-nfc .title {
    color: #FFFFFF;
}
.feature-card.hl-marca {
    background-color: var(--background-blue);
}
.feature-card.hl-marca .title{
    color: var(--background-red);
}
.feature-card.hl-programa {
    background-color: var(--background-green-light);
}   
.feature-card.hl-programa .title{
    color: var(--secondary-color);
}

.feature-card.hl-ia {
    background-color: var(--background-purple);
}   
.feature-card.hl-soporte {
    background-color: var(--background-brown);
}
.feature-card.hl-social {
    background-color: var(--background-orange);
}

/* Buttons */
.cta-button {
    font-family: 'Poppins', sans-serif, Arial;
    font-size: 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    font-weight: 600;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
    color: white;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    filter: brightness(110%);
}

.cta-button .sparkles {
    width: 20px;
    margin-right: 0.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .sparkles {
    transform: rotate(15deg);
}

/* FAQ Section Styles */
.faq {
    padding: 80px 0;
}

.faq .wrapper {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    flex-direction: column;
}

.faq h2 {
    text-align: center;
    margin-bottom: 40px;
}

.accordion .faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.accordion .question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
}

.accordion .question h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 500;
}

.accordion .toggle {
    font-size: 24px;
    transition: transform 0.3s ease;
}

.accordion .faq-item.active .toggle {
    transform: rotate(45deg);
}

.accordion .answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 20px 0 0;
}

.accordion .faq-item.active .answer {
    max-height: 500px; /* Adjust this value based on your content */
    transition: max-height 0.5s ease-in;
}

.accordion .answer p {
    padding-bottom: 20px;
    margin: 0;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        padding: 1rem 5%;
    }

    .content {
        padding-right: 0;
        margin-bottom: 2rem;
    }
}


/*backgrounds*/
.background-yellow {
    background-color: var(--background-yellow);
} 
.background-yellow-light {
    background-color: var(--background-yellow-light);
}
.background-purple {
    background-color: var(--background-purple);
}   
.background-purple-light {
    background-color: var(--background-purple-light);
}
.background-blue {
    background-color: var(--background-blue);
}
.background-blue-light {
    background-color: var(--background-blue-light);
}
.background-brown {
    background-color: var(--background-brown);
}
.background-green {
    background-color: var(--background-green);
}
.background-beige {
    background-color: var(--background-beige);
}

.top-benefits {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.benefits-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-flow: wrap;
}

.benefit-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content:space-between;
    background-color: var(--secondary-color);
    border-radius: 30px;
    padding: 20px 20px 0;
    min-height: 100px;
    flex: 1;
}
.benefit-box .title {
    font-size: 22px;
    line-height: 1;
    font-weight: 600;
    color: #FFFFFF;
}
.benefit-box .image {
    display: flex;
    align-items: end;
    justify-content: center;
}
/* Make it responsive */
@media (max-width: 768px) {
    .benefits-row {
        flex-direction: column;
    }
}

.banner-cta {
    background-color: var(--background-blue);
    color: #FFFFFF;

}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background-color: #000;
    border-radius: 3px;
}

@media (max-width: 1024px) {
    .mobile-menu-btn {
        display: flex;
        position: relative;
        z-index: 1001;
    }

    .nav-items {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        bottom: 0;
        width: 100%;
        height: 100vh;
        background: var(--background-light);
        padding: 120px 40px 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        text-align: center;
    }

    .nav-items.active {
        right: 0;
    }

    .nav-items a {
        font-size: 24px;
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .nav-items.active a {
        opacity: 1;
        transform: translateX(0);
    }

    .nav-items a:nth-child(1) { transition-delay: 0.1s; }
    .nav-items a:nth-child(2) { transition-delay: 0.2s; }
    .nav-items a:nth-child(3) { transition-delay: 0.3s; }
    .nav-items a:nth-child(4) { transition-delay: 0.4s; }

    .nav-cta {
        flex-direction: column;
        gap: 1rem;
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.3s ease 0.5s, transform 0.3s ease 0.5s;
    }

    .nav-items.active .nav-cta {
        opacity: 1;
        transform: translateX(0);
    }

    .mobile-menu-btn span {
        transition: all 0.3s ease;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

footer {
    padding: 4rem 0;
    background-color: #f8f8f8;
}

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

.footer-logo {
    text-align: center;
}

.footer-logo img {
    max-width: 120px;
}

.footer-nav, .footer-legal {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-nav a, .footer-legal a {
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
}
.footer-nav .cta-button, .footer-nav .cta-button:hover {
    color: #ffffff;
}

.footer-nav a:hover, .footer-legal a:hover {
    color: #000;
}

.footer-bottom {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 24px;
    height: 24px;
}

.copyright {
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 768px) {
    .footer-nav, .footer-legal {
        gap: 1rem;
        text-align: center;
    }
    
    footer .wrapper {
        padding: 0 1rem;
    }
}



#policies .content {
    flex-direction: column;
}


.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    background-color: #25D366;
    border-radius: 5px;
    color: #fff;
    padding: 5px 10px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.whatsapp-icon.visible {
    opacity: 1;
    visibility: visible;
}
.whatsapp-btn {
    background-color: #25D366;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

#registro section .wrapper {
    flex-flow: column;
}

#pricing {
    padding: 80px 0;
}

#pricing .pricing-plans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1200px;
    margin: 48px auto 24px;
}

#pricing .plan {
    background: white;
    border-radius: 16px;
    padding: 32px;
    position: relative;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

#pricing .plan:hover {
    transform: translateY(-4px);
}

#pricing .plan.popular {
    border: 2px solid #007bff;
}

#pricing .popular-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: #007bff;
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

#pricing .plan-header {
    margin-bottom: 32px;
    text-align: center;
}

#pricing .price {
    font-size: 48px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 16px 0 4px;
}

#pricing .price span {
    font-size: 20px;
    font-weight: 500;
    color: #666;
}

#pricing .billing-period {
    color: #666;
    font-size: 14px;
}

#pricing .savings-badge {
    display: inline-block;
    background: #e6f3ff;
    color: #007bff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    margin-top: 8px;
}

#pricing .features {
    margin: 32px 0;
    padding: 0;
    list-style: none;
}

#pricing .features li {
    margin: 16px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

#pricing .features i {
    color: #007bff;
}

#pricing .cta-button {
    width: 100%;
    text-align: center;
    padding: 16px;
    border-radius: 8px;
    font-weight: 500;
}

#pricing .cta-button.outline {
    background: transparent;
    border: 2px solid #007bff;
    color: #007bff;
}

#pricing .vat-notice {
    text-align: center;
    color: #666;
    font-size: 14px;
    margin-top: 24px;
}

@media (max-width: 768px) {
    #pricing .pricing-plans {
        grid-template-columns: 1fr;
        padding: 0 24px;
    }
}



#contact {
    background-color: var(--background-blue);
}   
#contact .content {
    flex-direction: column;
}   


#suscribe section .wrapper{
    flex-flow: column;
}

#suscribe .content {
    padding: 30px;
}
