/* Variables */
:root {
    --primary: #7209B7;
    --secondary: #F72585;
    --accent: #4CC9F0;
    --dark: #3A0CA3;
    --light: #F8F9FA;
    --text-dark: #212529;
    --text-light: #F8F9FA;
    --gradient: linear-gradient(135deg, #7209B7, #F72585);
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --transition: all 0.3s ease;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

img {
    max-width: 100%;
    height: auto;
}

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

ul {
    list-style: none;
}

h1, h2, h3, h4 {
    margin-bottom: 1rem;
    line-height: 1.3;
}

h2 {
    font-size: 2.5rem;
    position: relative;
    margin-bottom: 2rem;
    text-align: center;
}

h2::after {
    content: '';
    position: absolute;
    height: 4px;
    width: 60px;
    background: var(--secondary);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

section {
    padding: 5rem 0;
}

/* Header y Navegación */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow);
    z-index: 1000;
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

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

.logo {
    display: block;
}

h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
}

h1 span {
    color: var(--secondary);
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--text-dark);
    font-weight: 500;
}

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 5px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding-top: 10rem;
    background: linear-gradient(135deg, rgba(114, 9, 183, 0.05), rgba(247, 37, 133, 0.05));
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.hero-content {
    flex: 1;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.hero h2::after {
    left: 0;
    transform: none;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--gradient);
    color: var(--text-light);
    border-radius: var(--radius);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(114, 9, 183, 0.3);
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(114, 9, 183, 0.4);
    color: var(--text-light);
}

/* Features Section */
.features {
    background-color: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background-color: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

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

/* How It Works */
.how-it-works {
    background: linear-gradient(135deg, rgba(114, 9, 183, 0.05), rgba(247, 37, 133, 0.05));
}

.steps {
    display: flex;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
    justify-content: center;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 350px;
    background-color: #fff;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    position: relative;
    text-align: center;
}

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

.cta-container {
    text-align: center;
    margin-top: 3rem;
}

/* FAQ Section */
.faq {
    background-color: #fff;
}

.accordion {
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.accordion-item {
    margin-bottom: 1rem;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.accordion-header {
    padding: 1.5rem;
    background-color: var(--light);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.accordion-header::after {
    content: '+';
    font-size: 1.5rem;
}

.accordion-item.active .accordion-header::after {
    content: '−';
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #fff;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
    padding: 1.5rem;
}

/* Call to Action */
.call-to-action {
    background: var(--gradient);
    color: var(--text-light);
    text-align: center;
    padding: 4rem 0;
}

.call-to-action h2 {
    color: var(--text-light);
}

.call-to-action h2::after {
    background-color: var(--text-light);
}

.call-to-action p {
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.2rem;
}

.call-to-action .cta-button {
    background: var(--text-light);
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.call-to-action .cta-button:hover {
    background: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* Footer */
footer {
    background-color: #181c24;
    color: var(--text-light);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.footer-links {
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-column {
    flex: 1;
    min-width: 150px;
}

.footer-column h3 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--secondary);
}

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

.footer-column a {
    color: #bbb;
    transition: var(--transition);
}

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

.keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.keywords span {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #bbb;
}

/* Responsive */
@media screen and (max-width: 992px) {
    h2 {
        font-size: 2rem;
    }

    .hero h2 {
        font-size: 2.5rem;
    }

    .hero .container {
        flex-direction: column-reverse;
    }

    .hero-content {
        text-align: center;
    }

    .hero h2::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media screen and (max-width: 768px) {
    nav ul {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    nav.active ul {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: var(--shadow);
        padding: 1.5rem;
        gap: 1rem;
        z-index: 1000;
    }

    section {
        padding: 3rem 0;
    }

    .step {
        min-width: 100%;
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 1.5rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
}
