:root {
    --primary-color: #006341; /* Verde mexicano */
    --secondary-color: #CE1126; /* Rojo mexicano */
    --accent-color: #F8D568; /* Amarillo/oro */
    --dark-text: #222222;
    --light-text: #ffffff;
    --gray-text: #777777;
    --light-bg: #f8f8f8;
    --card-bg: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-text);
    background-color: var(--light-bg);
    line-height: 1.6;
}

.wrapper {
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

/* Header Styles */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo h1 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark-text);
}

.logo .mx {
    color: var(--primary-color);
    font-weight: 800;
}

.logo .love {
    color: var(--secondary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 25px;
}

nav a {
    color: var(--dark-text);
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

nav a:hover {
    color: var(--secondary-color);
}

#menu-toggle {
    display: none;
}

.menu-button {
    display: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
}

.menu-button span {
    display: block;
    height: 3px;
    width: 100%;
    border-radius: 3px;
    background: var(--dark-text);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 80px 0 60px;
    background: var(--gradient);
    color: var(--light-text);
    position: relative;
}

.hero .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    flex: 1;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-image {
    flex: 1;
    max-width: 300px;
}

.telegram-badge {
    display: inline-flex;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 15px;
    border-radius: 30px;
    margin-bottom: 25px;
    gap: 8px;
}

.telegram-badge span {
    font-weight: 600;
    font-size: 0.9rem;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.primary-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--dark-text);
    padding: 14px 32px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    background-color: #fff;
}

.no-card {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-left: 10px;
}

/* How It Works Section */
.how-it-works {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.how-it-works h2,
.benefits h2,
.testimonials h2,
.faq h2 {
    font-size: 2.2rem;
    margin-bottom: 50px;
    text-align: center;
    color: var(--dark-text);
    position: relative;
}

.how-it-works h2::after,
.benefits h2::after,
.testimonials h2::after,
.faq h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
}

.step {
    background: var(--card-bg);
    padding: 30px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    flex: 1;
    max-width: 300px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
}

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

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.features-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: var(--box-shadow);
}

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

.action-center {
    text-align: center;
    margin-top: 40px;
}

/* Benefits Section */
.benefits {
    padding: 80px 0;
    background-color: #fff;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--light-bg);
    padding: 30px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.benefit-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
}

.benefit-card:hover::after {
    transform: scaleX(1);
}

.benefit-card .icon {
    margin-bottom: 20px;
}

.benefit-card h3 {
    margin-bottom: 15px;
    color: var(--dark-text);
    font-size: 1.3rem;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.testimonial-slider {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding-bottom: 20px;
    margin: 0 -15px;
    padding: 0 15px 20px;
    scrollbar-width: none; /* Firefox */
}

.testimonial-slider::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

.testimonial {
    background: var(--card-bg);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    flex: 0 0 350px;
    position: relative;
    border-top: 4px solid var(--primary-color);
}

.quote {
    margin-bottom: 15px;
}

.testimonial p {
    font-style: italic;
    margin-bottom: 20px;
}

.user {
    text-align: right;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--gray-text);
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: #fff;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
}

.faq-question {
    background-color: var(--light-bg);
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #f0f0f0;
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--dark-text);
}

.arrow {
    font-size: 1.5rem;
    color: var(--primary-color);
    font-weight: bold;
    transition: all 0.3s ease;
}

.faq-question.active {
    background-color: var(--primary-color);
}

.faq-question.active h3 {
    color: var(--light-text);
}

.faq-question.active .arrow {
    color: var(--light-text);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: var(--card-bg);
}

.faq-answer p {
    padding: 20px 0;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: var(--gradient);
    color: var(--light-text);
    text-align: center;
}

.cta h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.cta p {
    margin-bottom: 30px;
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Footer */
footer {
    background-color: #222;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo p {
    margin-top: 15px;
    font-weight: 600;
}

.footer-links h3,
.footer-terms h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    position: relative;
}

.footer-links h3::after,
.footer-terms h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient);
}

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

.footer-links a {
    color: #bbb;
    display: inline-block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.footer-terms p {
    color: #bbb;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero .container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        order: 2;
    }
    
    .hero-image {
        order: 1;
        margin-bottom: 30px;
        max-width: 250px;
    }
    
    .telegram-badge {
        margin: 0 auto 25px;
    }
    
    .cta-buttons {
        align-items: center;
    }
    
    .steps {
        flex-direction: column;
        align-items: center;
    }
    
    .step {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .menu-button {
        display: flex;
    }
    
    nav {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    
    nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    #menu-toggle:checked ~ nav {
        max-height: 300px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial {
        flex: 0 0 85%;
    }
    
    .how-it-works h2,
    .benefits h2,
    .testimonials h2,
    .faq h2,
    .cta h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero h2 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .primary-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .features-list {
        flex-direction: column;
        align-items: center;
    }
}

/* Animation Effects */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.benefit-card,
.step,
.testimonial,
.faq-item {
    animation: fadeIn 0.6s ease forwards;
}
