/* ==========================================================================
   Variables de Colores Globales
   ========================================================================== */
   :root {
    --primary-color: #57357a;
    --secondary-color: #6849d1;
    --accent-color: #8568d9;
    --light-bg: #f8f9fa;
    --white: #ffffff;
}

/* ==========================================================================
   Estilos Generales
   ========================================================================== */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
}

/* ==========================================================================
   Sección Hero
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30%;
    background-image: url("{% static 'img/pattern.svg' %}");
    background-repeat: no-repeat;
    background-position: right center;
    opacity: 0.2;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   Botones
   ========================================================================== */
.btn-primary {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    padding: 10px 25px;
    font-weight: 600;
}

.btn-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* ==========================================================================
   Sección de Características
   ========================================================================== */
.features-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.feature-card {
    text-align: center;
    padding: 2rem;
    transition: transform 0.3s;
}

.custom-feature-card {
    box-shadow: 0px 3px 8px -2px rgba(0, 0, 0, 0.3);
    -webkit-box-shadow: 0px 3px 8px -2px rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0px 3px 8px -2px rgba(0, 0, 0, 0.3);
    border-radius: 0.5rem;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    background-color: rgba(107, 73, 209, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   Sección Cómo Funciona
   ========================================================================== */
.how-it-works {
    background-color: var(--primary-color);
    color: white;
    padding: 5rem 0;
}

.step-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s;
}

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

.step-number {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    background-color: white;
    color: var(--primary-color);
    font-weight: bold;
    text-align: center;
    margin-bottom: 1rem;
}

/* ==========================================================================
   Sección de Beneficios
   ========================================================================== */
.benefits-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.benefit-item {
    margin-bottom: 2rem;
    display: flex;
    align-items: flex-start;
}

.benefit-icon {
    color: #28a745;
    font-size: 1.5rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* ==========================================================================
   Sección de Precios
   ========================================================================== */
.pricing-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.pricing-card {
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    padding: 2rem;
    height: 100%;
    transition: transform 0.3s;
}

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

.pricing-card.popular {
    border: 2px solid var(--secondary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.popular-tag {
    position: absolute;
    top: 0;
    right: 20px;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 0 0 10px 10px;
}

.price {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.period {
    font-size: 0.9rem;
    color: #666;
}

/* ==========================================================================
   Sección de Testimonios
   ========================================================================== */
.testimonials-section {
    padding: 1rem 0;
    background-color: var(--white);
}

.testimonial-card {
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    height: 100%;
}

.rating {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   Sección de Preguntas Frecuentes (FAQ)
   ========================================================================== */
.faq-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
}

.accordion-button {
    background-color: var(--white);
    color: var(--primary-color);
    box-shadow: none;
    border: 1px solid #e0e0e0;
    border-radius: 10px !important;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: white;
}

/* ==========================================================================
   Sección Llamado a la Acción (CTA)
   ========================================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 5rem 0;
}

/* ==========================================================================
   Sección de Contacto
   ========================================================================== */
.contact-section {
    padding: 5rem 0;
    background-color: var(--white);
}

.contact-info {
    margin-bottom: 2rem;
}

.contact-item {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.contact-icon {
    margin-right: 1rem;
    color: var(--primary-color);
}

/* ==========================================================================
   Pie de Página
   ========================================================================== */
footer {
    background-color: var(--primary-color);
    color: white;
    padding: 2rem 0;
}
