/* Estilos generales */
:root {
    --primary-color: #e91e63;
    --secondary-color: #9c27b0;
    --accent-color: #4caf50;
    --dark-color: #333333;
    --light-color: #ffffff;
    --gray-bg: #f5f5f5;
    --text-color: #444444;
    --shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

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

body {
    font-family: 'Montserrat', 'Roboto', 'Helvetica', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

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

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
    font-size: 1.05rem;
}

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

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

ul {
    list-style: none;
}

section {
    padding: 80px 0;
    position: relative;
}

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

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

.logo-svg {
    width: 180px;
    height: 40px;
}

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

nav {
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
}

.menu li {
    margin-left: 25px;
}

.menu li a {
    color: var(--dark-color);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

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

.menu li a:hover::after {
    width: 100%;
}

.btn-small {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 8px 15px;
    border-radius: 25px;
}

.btn-small:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

#menu-toggle {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

.menu-icon span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Sección Hero */
.hero {
    background: var(--gradient);
    color: var(--light-color);
    padding: 160px 0 100px;
    text-align: center;
    position: relative;
}

.hero h1 {
    color: var(--light-color);
    font-size: 2.8rem;
    max-width: 800px;
    margin: 0 auto 20px;
    font-weight: 700;
}

.hero p {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-color);
    padding: 14px 30px;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
    transition: var(--transition);
}

.cta-button:hover {
    background-color: #3d9140;
    color: var(--light-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.6);
}

.cta-button.large {
    padding: 18px 36px;
    font-size: 1.2rem;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
}

/* Sección características */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header.dark h2 {
    color: var(--dark-color);
}

.section-header.light h2 {
    color: var(--light-color);
}

.section-header h2 {
    position: relative;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--primary-color);
}

.feature-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feature-card {
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    padding: 35px 25px;
    box-shadow: var(--shadow);
    flex: 1;
    min-width: 280px;
    text-align: center;
    transition: var(--transition);
}

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

.icon-container {
    margin-bottom: 20px;
}

/* Sección cómo funciona */
.how-it-works {
    background-color: var(--gray-bg);
}

.steps {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

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

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

.step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
}

/* Sección tecnología */
.technology {
    background-color: var(--light-color);
}

.tech-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.tech-info {
    flex: 1;
    min-width: 300px;
}

.tech-visual {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.tech-list {
    margin-top: 25px;
}

.tech-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.tech-list li svg {
    margin-right: 10px;
}

/* Sección empezar */
.get-started {
    background: var(--gradient);
    color: var(--light-color);
    padding: 80px 0;
    text-align: center;
}

.cta-container {
    max-width: 600px;
    margin: 0 auto;
}

.cta-note {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 15px;
}

/* Footer */
footer {
    background-color: #222;
    color: rgba(255, 255, 255, 0.7);
    padding: 60px 0 30px;
}

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

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

.footer-column.wide {
    flex: 2;
    min-width: 300px;
}

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

.footer-logo p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-icon {
    margin-top: 20px;
}

footer h4 {
    color: var(--light-color);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    display: inline-block;
}

footer h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

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 {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsividad */
@media (max-width: 992px) {
    h1 {
        font-size: 2.3rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .feature-card {
        flex-basis: calc(50% - 20px);
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step {
        margin-bottom: 30px;
        width: 80%;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
}

@media (max-width: 768px) {
    .menu {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--light-color);
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 20px 0;
        flex-direction: column;
        align-items: center;
    }
    
    .menu li {
        margin: 10px 0;
    }
    
    .menu-icon {
        display: block;
    }
    
    #menu-toggle:checked ~ .menu {
        display: flex;
    }
    
    .hero {
        padding: 140px 0 80px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .feature-card {
        flex-basis: 100%;
    }
    
    .step {
        width: 100%;
    }
}

@media (max-width: 576px) {
    section {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 1.7rem;
    }
    
    .cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    
    .tech-visual {
        display: none;
    }
}
