/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colores principales - violeta y azul */
    --primary: #9C27B0;
    --secondary: #3F51B5;
    --accent: #FFC107;
    --dark: #212121;
    --light: #F5F5F5;
    --gray: #757575;
    --white: #FFFFFF;
    
    /* Sombras y bordes */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.2);
    --radius-sm: 8px;
    --radius-md: 15px;
    --radius-lg: 30px;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    line-height: 1.3;
    color: var(--dark);
}

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

/* HEADER STYLES */
.site-header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--dark);
}

.logo span {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-left: 10px;
}

.logo em {
    color: var(--primary);
    font-style: normal;
}

.main-navigation ul {
    display: flex;
    list-style: none;
}

.main-navigation ul li {
    margin-left: 30px;
}

.main-navigation ul li a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
}

.main-navigation ul li a:hover {
    color: var(--primary);
}

.main-navigation ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.main-navigation ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* HERO SECTION */
.hero {
    padding-top: 100px;
    background: linear-gradient(135deg, #E8EAF6 0%, #F3E5F5 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    align-items: center;
    min-height: 80vh;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 600px;
    padding: 60px 0;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    color: var(--primary);
}

.hero h1 span {
    color: var(--secondary);
    font-weight: 400;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--dark);
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--gray);
}

.benefits {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    gap: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.benefit-item span {
    margin-left: 10px;
    font-weight: 500;
}

.hero-cta {
    display: flex;
    gap: 20px;
}

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

.image-transformation {
    max-width: 100%;
    height: auto;
}

.wave-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    transform: rotate(180deg);
}

.wave-divider svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 70px;
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background-color: #8E24AA;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background-color: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-outline:hover {
    background-color: var(--secondary);
    color: var(--white);
    transform: translateY(-3px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* HOW IT WORKS SECTION */
.how-it-works {
    padding: 80px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--dark);
}

.section-header p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
    color: var(--gray);
}

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

.step {
    flex: 0 0 30%;
    text-align: center;
    padding: 20px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

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

.step-icon {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
}

.step-number {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.step h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

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

/* FEATURES SECTION */
.features {
    padding: 80px 0;
    background: linear-gradient(135deg, #E8EAF6 0%, #F3E5F5 100%);
    position: relative;
}

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

.feature-card {
    background-color: var(--white);
    border-radius: var(--radius-md);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-md);
}

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

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.slant-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background-color: var(--white);
    clip-path: polygon(0 100%, 100% 100%, 0 0);
}

/* FAQ SECTION */
.faq {
    padding: 80px 0;
    background-color: var(--white);
}

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

.faq-item {
    margin-bottom: 20px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background-color: var(--light);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: rgba(156, 39, 176, 0.05);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 700;
    transition: all 0.3s ease;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

/* FOOTER */
.site-footer {
    background-color: var(--dark);
    color: var(--light);
    padding: 60px 0 30px;
}

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

.footer-brand {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    max-width: 350px;
}

.footer-logo {
    margin-right: 20px;
    flex-shrink: 0;
}

.footer-brand-info h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.footer-brand-info span {
    color: var(--primary);
}

.footer-brand-info p {
    color: var(--light);
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.link-group h4 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.link-group ul {
    list-style: none;
}

.link-group ul li {
    margin-bottom: 10px;
}

.link-group ul li a {
    color: var(--light);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.link-group ul li a:hover {
    opacity: 1;
    color: var(--primary);
}

.footer-tags {
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.footer-tags ul {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 15px;
}

.footer-tags ul li {
    color: var(--light);
    opacity: 0.5;
    font-size: 0.9rem;
}

.copyright {
    text-align: center;
}

.copyright p {
    opacity: 0.5;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* RESPONSIVE STYLES */
@media (max-width: 992px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text {
        max-width: 100%;
        text-align: center;
        padding: 40px 0;
    }
    
    .benefits {
        justify-content: center;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .steps {
        justify-content: center;
    }
    
    .step {
        flex: 0 0 45%;
    }
}

@media (max-width: 768px) {
    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow-sm);
        padding: 20px 0;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        align-items: center;
    }
    
    .main-navigation ul li {
        margin: 10px 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .step {
        flex: 0 0 100%;
    }
    
    .footer-content {
        flex-direction: column;
    }
    
    .footer-links {
        margin-top: 30px;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .footer-links {
        flex-direction: column;
    }
}
