/* Variables de color */
:root {
    --primary-green: #002D04;
    --primary-beige: #F2BF87;
    --secondary-green: #E5F8E0;
    --white: #ffffff;
    --black: #333333;
    --gray: #f5f5f5;
}

/* Reset y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
}

.highlight {
    color: var(--primary-green);
}

/* Header/Nav */
/* Header/Nav */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 50px;
    height: 50px;
    transition: transform 0.3s;
}

/* Nav Links - Desktop */
.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--black);
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-green);
}

.btn-nav {
    background-color: var(--secondary-green);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-nav:hover {
    background-color: #78a07c;
    transform: translateY(-2px);
}

/* Hamburguesa */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--black);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Estilos del menú hamburguesa - SOLO PARA MOBILE */
@media screen and (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: 0;
        background-color: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        transition: height 0.5s ease;
        padding: 0;
        gap: 2rem;
    }

    .nav-links.active {
        height: calc(100vh - 70px);
    }

    .burger {
        display: flex;
        flex-direction: column;
    }

    /* Animación a X */
    .burger.active .line1 {
        transform: rotate(45deg) translate(5px, 5px);
    }
    .burger.active .line2 {
        opacity: 0;
    }
    .burger.active .line3 {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

/* Hero Section */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8rem 5% 5rem;
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--white) 100%);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #555;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.cta-buttonsf {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-app {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-beige);
    color: var(--primary-green);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-app:hover {
    background-color: #e0a55a;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(242, 191, 135, 0.3);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Features Section */
.features {
    padding: 5rem 5%;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title span {
    color: var(--primary-green);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 4px;
    background-color: var(--primary-beige);
    bottom: -10px;
    left: 25%;
    border-radius: 2px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 45, 4, 0.1);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.pulse {
    animation: pulse 2s infinite;
}

/* How It Works */
.how-it-works {
    padding: 5rem 5%;
    background: linear-gradient(135deg, var(--secondary-green) 0%, var(--white) 100%);
    text-align: center;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.step {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    transition: all 0.3s;
}

.step:hover {
    transform: translateY(-5px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: var(--primary-green);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Testimonials */
.testimonials {
    padding: 5rem 5%;
    text-align: center;
}

.testimonial-cards {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 350px;
    transition: all 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
}

.user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.user span {
    font-weight: 600;
}

.slide-in {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.5s ease-out;
}

.slide-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* Final CTA */
.final-cta {
    padding: 5rem 5%;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-green) 0%, #001a02 100%);
    color: var(--white);
}

.cta-buttonsf {
    display: flex;
    justify-content: center; /* Centra los botones horizontalmente */
    gap: 1rem; /* Espacio entre botones */
    margin-top: 1.5rem;
    flex-wrap: wrap; /* Permite que los botones se apilen en móviles */
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.final-cta p {
    margin-bottom: 2rem;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background-color: var(--black);
    color: var(--white);
    padding: 3rem 5% 1rem;
}

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.social-icons a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--primary-beige);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .burger {
        display: block;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 6rem;
    }

    .hero-content {
        margin-bottom: 3rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .steps {
        grid-template-columns: 1fr;
    }

}
