/* Base Styles and Variables */
:root {
    --primary-color: #ff3366;
    --secondary-color: #8a2be2;
    --accent-color: #33ccff;
    --dark-color: #2a2a3a;
    --light-color: #f8f8ff;
    --text-color: #333344;
    --text-light: #ffffff;
    --gradient-bg: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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 15px;
}

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

ul {
    list-style: none;
}

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

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

.logo {
    width: 180px;
}

.logo-svg {
    width: 100%;
    height: auto;
}

nav ul {
    display: flex;
    gap: 25px;
}

nav ul li a {
    font-weight: 500;
    color: var(--dark-color);
    position: relative;
}

nav ul li a:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

nav ul li a:hover:after {
    width: 100%;
}

/* Hero Section */
#hero {
    background: var(--gradient-bg);
    color: var(--text-light);
    padding: 80px 0;
    text-align: center;
    border-radius: 0 0 0 100px;
}

#hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    max-width: 800px;
    margin: 0 auto 20px;
}

.subheading {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-button {
    display: inline-block;
    background-color: #ffffff;
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

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

.features-highlight {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 50px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    width: 40px;
    height: 40px;
}

/* How It Works Section */
#como-funciona {
    padding: 80px 0;
    background-color: #ffffff;
}

#como-funciona h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    color: var(--dark-color);
}

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

.step {
    background-color: #f8f8ff;
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    flex: 1;
    transition: var(--transition);
    position: relative;
}

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

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

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

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

/* Features Section */
#caracteristicas {
    background-color: #f8f9fa;
    padding: 80px 0;
    border-radius: 100px 0 100px 0;
}

#caracteristicas h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

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

.feature-card {
    background: #ffffff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

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

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

/* FAQ Section */
#preguntas-frecuentes {
    padding: 80px 0;
    background-color: #ffffff;
}

#preguntas-frecuentes h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
}

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

.faq-item {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.faq-item:last-child {
    border-bottom: none;
}

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

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

#cta h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

#cta p {
    margin-bottom: 30px;
    max-width: 600px;
    margin: 0 auto 30px;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    flex: 1;
    min-width: 200px;
}

.footer-logo-svg {
    width: 180px;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-around;
}

.footer-links-col h4 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

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

.footer-links-col ul li a {
    color: var(--text-light);
    opacity: 0.8;
}

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

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

.footer-bottom p {
    margin-bottom: 10px;
    font-size: 0.9rem;
    opacity: 0.7;
}

.keywords {
    font-size: 0.8rem;
    opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 992px) {
    html {
        font-size: 15px;
    }
    
    .steps {
        flex-direction: column;
        max-width: 500px;
        margin: 0 auto 30px;
    }
    
    .features-highlight {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        gap: 15px;
    }
    
    #hero {
        padding: 60px 0;
        border-radius: 0;
    }
    
    #hero h1 {
        font-size: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    #hero h1 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .features-highlight {
        gap: 20px;
    }
    
    .feature {
        flex: 1;
    }
    
    #caracteristicas {
        border-radius: 50px 0 50px 0;
    }
    
    .faq-item h3 {
        font-size: 1.1rem;
    }
}
