/* Variables globales */
:root {
    --primary: #9C27B0;
    --secondary: #FFC107;
    --dark: #212121;
    --light: #F5F5F5;
    --grey: #757575;
    --gradient: linear-gradient(45deg, var(--primary), var(--secondary));
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

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

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

a {
    text-decoration: none;
    color: inherit;
}

/* Tipografía */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
}

h1 {
    font-size: 1.8rem;
    color: var(--primary);
}

h1 span {
    color: var(--secondary);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

h2 span {
    color: var(--primary);
    position: relative;
}

h2 span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background-color: var(--secondary);
    opacity: 0.3;
    border-radius: 10px;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--grey);
}

.section-title {
    text-align: center;
    position: relative;
    margin-bottom: 3rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

/* Botones */
.button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1rem;
    border: none;
    box-shadow: var(--shadow);
}

.primary-button {
    background: var(--gradient);
    color: white;
}

.primary-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(156, 39, 176, 0.4);
}

.ghost-button {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.ghost-button:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

.action-button {
    background: var(--secondary);
    color: var(--dark);
    font-weight: 700;
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.action-button:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 35px;
    height: 30px;
    position: relative;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary);
    margin: 6px 0;
    transition: var(--transition);
    border-radius: 3px;
}

.navbar-menu {
    display: flex;
    align-items: center;
}

.navbar-end {
    display: flex;
    align-items: center;
    gap: 25px;
}

.navbar-item {
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

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

.navbar-item:hover {
    color: var(--primary);
}

.navbar-item:hover::after {
    width: 100%;
}

/* Hero Section */
.hero-section {
    padding: 80px 0 100px;
    background-image: radial-gradient(circle at top right, rgba(156, 39, 176, 0.1), transparent 80%),
                     radial-gradient(circle at bottom left, rgba(255, 193, 7, 0.1), transparent 80%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-content {
    order: 1;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--grey);
    max-width: 90%;
}

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

.hero-graphic {
    order: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background-color: white;
}

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

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

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

.feature-icon {
    margin: 0 auto 20px;
    width: 80px;
    height: 80px;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background-color: #f9f9f9;
}

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

.process-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

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

.process-content h3 {
    margin-bottom: 10px;
}

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

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

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

.faq-item {
    background: #f9f9f9;
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.faq-question {
    color: var(--primary);
    margin-bottom: 10px;
    position: relative;
}

.faq-question::before {
    content: "?";
    position: absolute;
    right: 0;
    top: 0;
    background: var(--secondary);
    color: var(--dark);
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
}

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

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-branding {
    margin-bottom: 30px;
}

.footer-site {
    margin-top: 10px;
    font-weight: 600;
    color: var(--secondary);
}

.footer-links {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links a {
    color: white;
    opacity: 0.7;
    transition: var(--transition);
}

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

.footer-legal {
    font-size: 0.9rem;
    opacity: 0.5;
    margin-top: 20px;
}

.footer-legal p {
    margin-bottom: 5px;
    color: white;
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        order: 2;
        text-align: center;
    }

    .hero-graphic {
        order: 1;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1010;
    }

    .navbar-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: white;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        padding-top: 80px;
    }

    .navbar-menu.is-active {
        right: 0;
    }

    .navbar-end {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 30px;
    }

    .menu-toggle.is-active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .button {
        width: 100%;
    }
}
