/* --- HERO & NAVIGATION (PROFESIONALES) --- */
.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.3rem;
    border-radius: 50px;
    background: linear-gradient(135deg, #4945ff, #1300f6);
    color: var(--blanco);
    border: none;
    box-shadow: 0 10px 20px rgba(19, 0, 246, 0.3), 0 0 0 0 rgba(73, 69, 255, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 1;
}

.hero .btn-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: 0.6s;
    z-index: -1;
}

.hero .btn-large:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 30px rgba(19, 0, 246, 0.4), 0 0 20px rgba(73, 69, 255, 0.6);
}

.hero .btn-large:hover::before {
    left: 100%;
}

.hero .btn-large:active {
    transform: translateY(-2px) scale(0.98);
}

/* Pulse animation for Call to Action */
@keyframes pulse-shimmer {
    0% {
        box-shadow: 0 10px 20px rgba(19, 0, 246, 0.3), 0 0 0 0 rgba(73, 69, 255, 0.4);
    }

    70% {
        box-shadow: 0 10px 20px rgba(19, 0, 246, 0.3), 0 0 0 15px rgba(73, 69, 255, 0);
    }

    100% {
        box-shadow: 0 10px 20px rgba(19, 0, 246, 0.3), 0 0 0 0 rgba(73, 69, 255, 0);
    }
}

.btn-large {
    animation: pulse-shimmer 2s infinite;
}

.btn-large:hover {
    animation: none;
    /* Stop pulsing on hover to allow focus */
}

/* --- BENEFITS GRID: DISEÑO COMPACTO COMO IMAGEN DE REFERENCIA --- */
.benefits-grid {
    padding: 6rem 0;
    background: #ffffff;
    position: relative;
}

/* Eliminamos el header de sección */
.section-intro-benefits {
    display: none;
}

/* Contenedor de tarjetas - diseño horizontal compacto */
.benefits-cards-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}

/* Tarjeta base - diseño vertical centrado */
.benefit-card {
    flex: 1;
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: visible;
}

/* Espaciado entre tarjetas */
.benefit-card+.benefit-card {
    margin-left: 1.5rem;
}

/* Efecto hover sutil */
.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* Eliminamos el efecto de brillo */
.benefit-card-glow {
    display: none;
}

/* Contenido de la tarjeta - vertical */
.benefit-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    width: 100%;
}

/* Wrapper del icono - más pequeño y compacto */
.benefit-icon-wrapper {
    position: relative;
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.benefit-icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    transition: all 0.3s ease;
}

/* Gradientes más suaves para los iconos */
.benefit-card-purple .benefit-icon-bg {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.benefit-card-blue .benefit-icon-bg {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
}

.benefit-card-green .benefit-icon-bg {
    background: linear-gradient(135deg, #10b981, #34d399);
}

/* Icono SVG - centrado */
.benefit-icon {
    position: relative;
    width: 35px;
    height: 35px;
    color: white;
    z-index: 1;
    margin: 17.5px;
    transition: transform 0.3s ease;
}

.benefit-card:hover .benefit-icon {
    transform: scale(1.1);
}

/* Texto del beneficio */
.benefit-text {
    width: 100%;
}

.benefit-text h3 {
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1e293b;
}

/* Removemos los saltos de línea en el título */
.benefit-text h3 br {
    display: none;
}

/* Hacemos el título en una sola línea */
.benefit-card-purple .benefit-text h3::after {
    content: ' Agenda Viva';
}

.benefit-card-purple .benefit-text h3 {
    font-size: 0;
}

.benefit-card-purple .benefit-text h3::after {
    font-size: 1.4rem;
}

.benefit-card-blue .benefit-text h3::after {
    content: ' Perfil Experto';
}

.benefit-card-blue .benefit-text h3 {
    font-size: 0;
}

.benefit-card-blue .benefit-text h3::after {
    font-size: 1.4rem;
}

.benefit-card-green .benefit-text h3::after {
    content: ' Fondo Activo';
}

.benefit-card-green .benefit-text h3 {
    font-size: 0;
}

.benefit-card-green .benefit-text h3::after {
    font-size: 1.4rem;
}

.benefit-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

.benefit-text p strong {
    color: #1e293b;
    font-weight: 600;
}

/* Responsive Design */
@media screen and (max-width: 968px) {
    .benefits-cards-container {
        flex-direction: column;
        gap: 1.5rem;
    }

    .benefit-card+.benefit-card {
        margin-left: 0;
        margin-top: 1.5rem;
    }

    .benefit-card {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 640px) {
    .benefits-grid {
        padding: 4rem 0;
    }

    .benefit-card {
        padding: 2rem 1.5rem;
    }

    .benefit-text h3::after {
        font-size: 1.2rem !important;
    }

    .benefit-text p {
        font-size: 0.9rem;
    }
}

/* --- HOW IT WORKS (TIMELINE) --- */
.how-it-works {
    padding: 6rem 0;
    background-color: var(--gris-claro);
}

.how-it-works h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--azul-profundo);
    margin-bottom: 4rem;
}

.steps-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

/* The vertical line */
.steps-container::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background-color: #e2e8f0;
    transform: translateX(-50%);
}

.step {
    position: relative;
    width: 50%;
    padding: 10px 40px;
    box-sizing: border-box;
}

/* Alternating steps */
.step:nth-child(odd) {
    left: 0;
    text-align: right;
}

.step:nth-child(even) {
    left: 50%;
    text-align: left;
}

.step-number {
    position: absolute;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: var(--azul-vibrante);
    color: var(--blanco);
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    top: 20px;
    z-index: 1;
    border: 4px solid var(--gris-claro);
}

.step:nth-child(odd) .step-number {
    right: -25px;
    transform: translateX(50%);
}

.step:nth-child(even) .step-number {
    left: -25px;
    transform: translateX(-50%);
}

.step-content h3 {
    font-size: 1.4rem;
    color: var(--azul-profundo);
    margin-bottom: 0.5rem;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .steps-container::before {
        left: 25px;
        transform: translateX(0);
    }

    .step {
        width: 100%;
        padding-left: 70px;
        padding-right: 20px;
        text-align: left;
    }

    .step:nth-child(odd),
    .step:nth-child(even) {
        left: 0;
    }

    .step:nth-child(odd) .step-number,
    .step:nth-child(even) .step-number {
        left: 0;
        transform: translateX(0);
    }
}

/* --- TESTIMONIALS --- */
.testimonials {
    background-color: var(--azul-intermedio);
    color: var(--blanco);
    padding: 5rem 0;
    text-align: center;
}

.testimonials blockquote {
    font-size: 1.5rem;
    font-style: italic;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    border: none;
    padding: 0;
}

.testimonials cite {
    font-weight: 600;
    font-style: normal;
    opacity: 0.8;
}

/* --- FAQ SECTION --- */
.faq-section {
    padding: 6rem 0;
}

.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--azul-profundo);
    margin-bottom: 4rem;
}

.faq-item {
    max-width: 700px;
    margin: 0 auto 2rem;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 1.5rem;
}

.faq-question {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--azul-profundo);
    margin-bottom: 0.75rem;
    cursor: pointer;
}

.faq-answer {
    line-height: 1.7;
}