:root {
    --primary-purple: #4c1e61;
    --dark-purple: #4a148c;
    --light-purple: #9c27b0;
    --accent-purple: #8e24aa;
    --text-light: #ffffff;
    --text-dark: #333333;
    --gray-bg: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--gray-bg);
    color: var(--text-dark);
    line-height: 1.6;
}

header {
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
    color: var(--text-light);
    padding: 1rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    font-size: 2rem;
}

.logo img {
    height: 80px;
}

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

nav ul li {
    margin-left: 1.5rem;
}

nav ul li a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: #e1bee7;
}

.hero {
    background: linear-gradient(rgba(106, 27, 154, 0.8), rgba(74, 20, 140, 0.9)), url('https://images.unsplash.com/photo-1514525253161-7a46d19cd819?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    color: var(--text-light);
    text-align: center;
    padding: 8rem 2rem 5rem;
    margin-top: 70px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

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

.btn {
    display: inline-block;
    background-color: var(--light-purple);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--accent-purple);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--text-light);
    margin-left: 1rem;
}

.btn-outline:hover {
    background-color: var(--text-light);
    color: var(--primary-purple);
}

section {
    padding: 5rem 2rem;
}

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

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: #fff;
}

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

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

.feature-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.feature-icon {
    background-color: var(--primary-purple);
    color: white;
    font-size: 2.5rem;
    padding: 1.5rem;
    text-align: center;
}

.feature-content {
    padding: 1.5rem;
}

.feature-content h3 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.pricing {
    background-color: var(--dark-purple);
    color: var(--text-light);
}

.pricing-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.plan-card {
    background-color: white;
    color: var(--text-dark);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.plan-card.popular {
    transform: scale(1.05);
    z-index: 1;
    border: 3px solid var(--light-purple);
}

.plan-card.popular::before {
    content: "MÁS POPULAR";
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--light-purple);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: bold;
    border-bottom-left-radius: 10px;
}

.plan-header {
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
    color: white;
    padding: 2rem;
    text-align: center;
}

.plan-price {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 1rem 0;
}

.plan-price span {
    font-size: 1rem;
    font-weight: normal;
}

.plan-features {
    padding: 2rem;
}

.plan-features ul {
    list-style: none;
    margin-bottom: 2rem;
}

.plan-features ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.plan-features ul li:last-child {
    border-bottom: none;
}

.plan-features ul li i {
    color: var(--primary-purple);
    margin-right: 0.5rem;
}

.plan-button {
    text-align: center;
    padding: 0 2rem 2rem;
}

.how-it-works {
    background-color: white;
}

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

.step {
    text-align: center;
    padding: 2rem;
    border-radius: 10px;
    background-color: var(--gray-bg);
    transition: all 0.3s ease;
}

.step:hover {
    background-color: var(--primary-purple);
    color: white;
}

.step:hover h3,
.step:hover .step-icon {
    color: white;
}

.step-icon {
    font-size: 3rem;
    color: var(--primary-purple);
    margin-bottom: 1rem;
}

.step h3 {
    margin-bottom: 1rem;
    color: var(--primary-purple);
}

.demo {
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
    color: var(--text-light);
    text-align: center;
}

.demo-content {
    max-width: 800px;
    margin: 0 auto;
}

.demo-video {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    padding: 3rem;
    margin: 2rem 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.demo-video i {
    font-size: 5rem;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
}

.demo-video i:hover {
    color: white;
    transform: scale(1.1);
}

/* Formulario de Contacto */
.contact-section {
    background: linear-gradient(135deg, var(--gray-bg), var(--gray-bg));
    padding: 5rem 2rem;
    color: var(--text-dark);
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-details {
    margin-top: 2rem;
}

.contact-details div {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-details i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: #e1bee7;
    width: 30px;
}

.contact-form {
    background-color: white;
    padding: 2.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.contact-form h3 {
    color: var(--primary-purple);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.8rem;
}

.form-group {
    margin-bottom: 0rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--dark-purple);
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--light-purple);
    box-shadow: 0 0 0 2px rgba(156, 39, 176, 0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary-purple);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 999;
}

.back-to-top:hover {
    background-color: var(--dark-purple);
    transform: translateY(-5px);
}

footer {
    background-color: #333;
    color: white;
    padding: 3rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.footer-logo i {
    margin-right: 10px;
}

.footer-links h4 {
    margin-bottom: 1rem;
    color: #e1bee7;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.5rem;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links ul li a:hover {
    color: white;
}

.social-links {
    display: flex;
    margin-top: 1rem;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
    margin-right: 1rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-purple);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #555;
    color: #999;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }
    
    nav ul {
        margin-top: 1rem;
    }
    
    nav ul li {
        margin: 0 0.5rem;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        display: block;
        margin: 1rem auto;
        width: 80%;
    }
    
    .plan-card.popular {
        transform: scale(1);
    }
}