:root {
    --color-primary: #43A047;
    --color-secondary: #2196F3;
    --color-accent: #FFA726;
    --color-text: #222;
    --color-text-light: #666;
    --color-background: #fff;
}

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

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

/* Smooth scrolling para toda la página */
html {
    scroll-behavior: smooth;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

/* Animación para el navbar al hacer scroll */
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 5%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1001;
}

.logo img {
    height: 45px;
    width: auto;
    object-fit: contain;
}

/* Botón hamburguesa */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
    position: relative;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--color-text);
    margin: 2px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Animación del hamburger cuando está activo */
.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Navigation menu */
.nav-menu {
    display: flex;
    gap: 2rem;
    transition: all 0.3s ease;
}

.nav-link {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: all 0.3s ease;
}

/* Animación al hover */
.nav-link:hover {
    color: var(--color-primary);
    transform: translateY(-2px);
}

/* Animación de la línea inferior */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 100%;
}

/* Animación cuando el enlace está activo */
.nav-link.active {
    color: var(--color-primary);
}

.nav-link.active::after {
    width: 100%;
}

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.btn-login {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 6px;
    background: #eee;
    color: var(--color-text);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-register {
    padding: 0.6rem 1.5rem;
    border: none;
    border-radius: 6px;
    background: var(--color-primary);
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-language {
    padding: 0.6rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: transparent;
    color: var(--color-text);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s ease;
}

.btn-language:hover {
    background: #f5f5f5;
}

.current-lang {
    color: var(--color-primary);
}

.lang-separator {
    color: #ddd;
}

.alt-lang {
    opacity: 0.6;
}

main {
    margin-top: 80px; /* Altura de la navbar + padding extra */
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 5%;
    gap: 2rem;
    background-color: #FEFEFE;
}

.hero-content {
    flex: 1;
    max-width: 700px;
}

h1 {
    font-size: 4.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    color: var(--color-primary);
}

.hero-desc {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 540px;
}

.cta-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.btn-discover {
    padding: 0.8rem 2rem;
    background: var(--color-secondary);
    color: white;
    border: none;
    border-radius: 7px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.pagination {
    display: flex;
    gap: 0.1rem;
}

.dot {
    width: 30px;
    height: 30px;
    background: var(--color-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.8rem;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.dot.active {
    opacity: 1;
}

.users-count {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.hero-image {
    flex: 1;
    position: relative;
    max-width: 1000px;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 0 0 20px 20px;
}

.floating-elements {
    position: absolute;
    right: 0;
    bottom: 20%;
    display: flex;
    gap: 1rem;
}

/* About Section */
.about {
    padding: 5rem 5%;
    background: #ffffff;
    text-align: center;
}

.search-bar {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.search-icon {
    color: var(--color-primary);
    font-size: 1.2rem;
}

.section-title {
    font-size: 3.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--color-text-light);
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: rgb(222, 243, 255);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.card-icon {
    width: 64px;
    height: 64px;
    background: #34b2fab0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon span {
    font-size: 2rem;
    color: white;
}

.value-card h3 {
    color: var(--color-text);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.value-card p {
    color: rgb(32, 32, 32);
    font-size: 1rem;
    line-height: 1.5;
}

/* Services Section */
.services {
    padding: 5rem 5%;
    background: var(--color-background);
    text-align: center;
}

.services-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
    overflow: hidden;
}

.services-wrapper {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s ease;
    padding: 1rem 0;
}

.service-card {
    flex: 0 0 calc(33.333% - 1.33rem);
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: #ff9800;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.next-btn {
    right: 0;
}

.slider-nav:hover {
    background: #f57c00;
    transform: translateY(-50%) scale(1.1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    background: #ddd;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots .dot.active {
    background: #ff9800;
    transform: scale(1.2);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #FFA726;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon span {
    font-size: 2.5rem;
}

.service-card h3 {
    color: var(--color-text);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-card p {
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.5;
}

/* Testimonials Section */
.testimonials {
    padding: 5rem 5%;
    background: var(--color-background);
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.rating {
    margin-bottom: 1rem;
}

.star {
    color: #FFA726;
    font-size: 1.2rem;
}

.testimonial-text {
    color: var(--color-text);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.2rem;
}

.author-info h4 {
    color: var(--color-text);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.author-info p {
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.btn-testimonials {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: var(--color-secondary);
    color: white;
    border: none;
    border-radius: 7px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-testimonials:hover {
    transform: translateY(-2px);
}

.arrow-icon {
    font-size: 1.2rem;
}

/* Pricing Section */
.pricing {
    padding: 5rem 5%;
    background: var(--color-background);
    text-align: center;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.pricing-card.featured {
    border: 2px solid var(--color-secondary);
    transform: scale(1.05);
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-card h3 {
    color: var(--color-text);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    margin-bottom: 1rem;
}

.amount {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color-text);
}

.period {
    color: var(--color-text-light);
    font-size: 1rem;
}

.plan-desc {
    color: var(--color-text-light);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.features-list {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
    font-size: 0.95rem;
}

.features-list .check {
    color: var(--color-primary);
    font-weight: bold;
}

.btn-plan {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 7px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
    width: 100%;
}

.btn-standard {
    background: #eee;
    color: var(--color-text);
}

.btn-basic {
    background: var(--color-secondary);
    color: white;
}

.btn-expert {
    background: #ff9800;
    color: white;
}

.btn-plan:hover {
    transform: translateY(-2px);
}

/* Stats Section */
.stats {
    padding: 4rem 5%;
    background: var(--color-secondary);
    text-align: center;
    color: white;
}

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

.stat-item {
    padding: 1rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.stat-desc {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.4;
}

.btn-impact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: white;
    color: var(--color-secondary);
    border: none;
    border-radius: 7px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-impact:hover {
    transform: translateY(-2px);
}

.arrow-right {
    font-size: 1.2rem;
}

/* Contact Section */
.contact {
    padding: 5rem 5%;
    background: #ffffff;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-content {
    padding-right: 2rem;
}

.contact-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.rocket-icon {
    font-size: 1.2rem;
}

.contact-title {
    font-size: 2.5rem;
    color: var(--color-text);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.contact-desc {
    color: var(--color-text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.benefits-list {
    list-style: none;
    margin-bottom: 2rem;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--color-text);
    font-size: 1.1rem;
}

.check-icon {
    color: var(--color-primary);
    font-weight: bold;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
}

.btn-register-now {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 2rem;
    background: #ff9800;
    color: white;
    border: none;
    border-radius: 7px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-learn-more {
    padding: 0.8rem 2rem;
    background: transparent;
    color: var(--color-text);
    border: 1px solid #ddd;
    border-radius: 7px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-learn-more:hover {
    background: #f5f5f5;
}

.contact-form {
    background: #F5F5F5;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.contact-form h3 {
    font-size: 1.5rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
}

.contact-form > p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #e9dfdf;
    border-radius: 7px;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.btn-submit {
    width: 100%;
    padding: 0.8rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 7px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-submit:hover,
.btn-register-now:hover {
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #f8f9fa;
    padding: 4rem 5% 2rem;
    margin-top: 2rem;
}

.footer-container {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 3rem;
    border-bottom: 1px solid #e0e0e0;
}

.footer-brand {
    max-width: 400px;
}

.logo-circle {
    width: 35px;
    height: 35px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.logo-text {
    color: var(--color-primary);
    font-size: 1.3rem;
    font-weight: bold;
}

.brand-description {
    color: var(--color-text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 1.5rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--color-text);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul a {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.footer-column ul a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    max-width: 1200px;
    margin: 2rem auto 0;
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-text-light);
    font-size: 0.9rem;
}

.credits {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Media Queries - Responsive Design */

/* Tablet - 1024px and below */
@media (max-width: 1024px) {
    .navbar {
        padding: 1rem 3%;
    }

    .nav-menu {
        gap: 1.5rem;
    }

    .nav-buttons {
        gap: 0.8rem;
    }

    .btn-login,
    .btn-register,
    .btn-language {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 2rem 5%;
    }

    .hero-content {
        max-width: 100%;
    }

    .cta-section {
        justify-content: center;
    }

    .hero-desc {
        margin: 0 auto 2rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .pricing-card.featured {
        transform: none;
    }

    .pricing-card.featured:hover {
        transform: translateY(-5px);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-content {
        padding-right: 0;
        text-align: center;
    }

    .benefits-list {
        display: inline-block;
        text-align: left;
    }

    .cta-buttons {
        justify-content: center;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
    }

    .footer-links {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        text-align: center;
    }
}

/* Mobile - 768px and below */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 4%;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        align-items: center;
        padding: 2rem 0;
        gap: 1.5rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link {
        font-size: 1.1rem;
        padding: 0.8rem 0;
        width: 100%;
        text-align: center;
    }

    .nav-buttons {
        position: fixed;
        bottom: 2rem;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: column;
        width: 200px;
        gap: 1rem;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease 0.1s;
    }

    .nav-menu.active ~ .nav-buttons {
        opacity: 1;
        visibility: visible;
    }

    .btn-login,
    .btn-register,
    .btn-language {
        width: 100%;
        padding: 0.8rem 1rem;
        text-align: center;
        justify-content: center;
    }

    /* Prevenir scroll cuando el menú está abierto */
    body.menu-open {
        overflow: hidden;
    }

    /* Overlay para cerrar el menú */
    .nav-menu.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.3);
        z-index: -1;
    }

    main {
        margin-top: 70px;
    }

    h1 {
        font-size: 2.5rem;
    }

    .floating-elements {
        display: none;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile - 480px and below */
@media (max-width: 480px) {
    .navbar {
        padding: 0.8rem 3%;
    }

    .logo img {
        height: 35px;
    }

    .nav-menu {
        padding: 1.5rem 0;
        gap: 1rem;
    }

    .nav-link {
        font-size: 1rem;
        padding: 0.6rem 0;
    }

    .nav-buttons {
        bottom: 1.5rem;
        width: 180px;
    }

    .btn-login,
    .btn-register,
    .btn-language {
        padding: 0.7rem 0.8rem;
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}
