/* Variables globales */
:root {
    --primary-color: #9C27B0;
    --secondary-color: #FF4081;
    --accent-color: #2196F3;
    --dark-color: #333;
    --light-color: #f8f8f8;
    --text-color: #444;
    --border-radius: 8px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

/* Reset y estilos generales */
* {
    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-color);
    background-color: var(--light-color);
}

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

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

/* Encabezado */
header {
    background-color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    height: 40px;
    width: auto;
}

nav {
    display: flex;
    justify-content: flex-end;
}

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

nav ul {
    display: flex;
    list-style-type: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

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

/* Sección Hero */
.hero {
    background: linear-gradient(135deg, #9C27B0 0%, #FF4081 100%);
    color: white;
    padding: 120px 0 80px;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background-color: white;
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    border: 2px solid transparent;
}

.cta-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Sección Características */
.features {
    padding: 100px 0;
    background-color: white;
}

.features h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 60px;
    color: var(--dark-color);
}

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

.feature {
    text-align: center;
    padding: 30px;
    border-radius: var(--border-radius);
    background-color: white;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.feature h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* Cómo funciona */
.how-it-works {
    padding: 100px 0;
    background-color: var(--light-color);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 60px;
    color: var(--dark-color);
}

.steps {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 60px;
}

.step {
    flex: 1;
    min-width: 250px;
    max-width: 300px;
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

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

.step h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

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

/* FAQ */
.faq {
    padding: 100px 0;
    background-color: white;
}

.faq h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 60px;
    color: var(--dark-color);
}

.faq-item {
    margin-bottom: 30px;
    padding: 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    background-color: white;
    transition: var(--transition);
}

.faq-item:hover {
    transform: translateY(-5px);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

/* Testimonios */
.testimonials {
    padding: 100px 0;
    background-color: var(--light-color);
}

.testimonials h2 {
    text-align: center;
    font-size: 2.4rem;
    margin-bottom: 60px;
    color: var(--dark-color);
}

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

.testimonial {
    background-color: white;
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.quote {
    font-style: italic;
    margin-bottom: 20px;
    position: relative;
    padding: 0 15px;
}

.quote::before, .quote::after {
    content: '"';
    font-size: 2rem;
    color: var(--secondary-color);
    opacity: 0.5;
}

.author {
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
}

/* CTA Sección */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, #9C27B0 0%, #FF4081 100%);
    color: white;
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
}

.cta-section h2 {
    font-size: 2.4rem;
    margin-bottom: 20px;
}

.cta-section p {
    margin-bottom: 40px;
    font-size: 1.2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-logo img {
    height: 40px;
    margin-bottom: 20px;
}

.footer-links h3, .footer-keywords h3 {
    margin-bottom: 20px;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    color: var(--secondary-color);
}

.footer-keywords p {
    opacity: 0.8;
    line-height: 1.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    nav ul {
        display: none;
    }
    
    .features-grid, .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    section {
        padding: 60px 0;
    }
    
    section h2 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }
    
    .feature, .step, .testimonial {
        padding: 20px;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}
