/* Variables globales */
:root {
    --primary-color: #ff6b81;
    --secondary-color: #6c5ce7;
    --accent-color: #00cec9;
    --dark-color: #2d3436;
    --light-color: #f5f5f5;
    --text-color: #333333;
    --light-text: #ffffff;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: #fff;
}

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

h1, h2, h3, h4 {
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-color);
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 20px;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

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

/* Header y Navegación */
header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

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

.logo {
    width: 180px;
}

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

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

nav ul li a {
    color: var(--dark-color);
    font-weight: 600;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

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

/* Sección Hero */
.hero {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: var(--light-text);
    padding: 120px 0 100px;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero h1, .hero h2 {
    color: var(--light-text);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px;
}

.cta-button {
    margin: 40px 0;
}

.btn {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-text);
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn:hover {
    background-color: transparent;
    border-color: var(--accent-color);
    color: var(--light-text);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Características */
.features {
    padding: 100px 0;
    background-color: #ffffff;
    text-align: center;
}

.features h2 {
    margin-bottom: 60px;
}

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

.feature-item {
    background-color: var(--light-color);
    border-radius: 8px;
    padding: 40px 30px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    margin-bottom: 25px;
}

/* Cómo Funciona */
.how-it-works {
    padding: 100px 0;
    background-color: #f8f9fa;
    text-align: center;
}

.how-it-works h2 {
    margin-bottom: 60px;
}

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

.step {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    margin: 15px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.tech-note {
    background-color: rgba(108, 92, 231, 0.1);
    padding: 20px;
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
}

.tech-note p {
    margin-bottom: 0;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
    clip-path: polygon(0 15%, 100% 0, 100% 100%, 0 100%);
}

.cta h2, .cta p {
    color: var(--light-text);
}

.disclaimer {
    margin-top: 40px;
    font-size: 0.9rem;
    opacity: 0.8;
}

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

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

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

.footer-links, .footer-terms {
    min-width: 150px;
}

.footer-links h4, .footer-terms h4 {
    color: var(--light-text);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

footer ul {
    list-style: none;
}

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

footer ul li a {
    color: rgba(255, 255, 255, 0.7);
}

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

.copyright {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive */
@media (max-width: 992px) {
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 20px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 10px;
    }
    
    .hero {
        padding: 80px 0 70px;
    }
    
    .footer-content > div {
        flex-basis: 100%;
        margin-bottom: 30px;
    }
}

@media (max-width: 576px) {
    .container {
        width: 95%;
        padding: 0 10px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 60px 0 50px;
    }
    
    .btn {
        padding: 12px 25px;
    }
}
