/* Landing del Sistema POS: complementa assets/css/style.css */

.pos-landing .rn-slider-area .slide .content .description {
    max-width: 560px;
}

.pos-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 30px;
    background: var(--background-color-1);
    box-shadow: var(--shadow-1);
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.pos-badge svg {
    width: 16px;
    height: 16px;
}

.pos-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

.pos-hero-actions .rn-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pos-hero-actions .rn-btn svg {
    width: 18px;
    height: 18px;
}

.pos-hero-thumb {
    border-radius: 10px;
    padding: 20px;
    background: var(--background-color-1);
    box-shadow: var(--shadow-1);
}

.pos-hero-thumb img {
    width: 100%;
    border-radius: 8px;
}

/* ---------- Bloques informativos ---------- */
.pos-card {
    height: 100%;
    padding: 40px 32px;
    border-radius: 10px;
    background: var(--background-color-1);
    box-shadow: var(--shadow-1);
    transition: var(--transition);
}

.pos-card:hover {
    transform: translateY(-4px);
}

.pos-card .icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 24px;
    border-radius: 10px;
    box-shadow: var(--shadow-1);
    color: var(--color-primary);
}

.pos-card .icon svg {
    width: 26px;
    height: 26px;
}

.pos-card h4 {
    font-size: 22px;
    margin-bottom: 12px;
    color: var(--color-lightn);
}

.pos-card p {
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}

/* ---------- Selector mensual / anual ---------- */
.pos-billing-toggle {
    display: inline-flex;
    gap: 6px;
    padding: 6px;
    margin-top: 30px;
    border-radius: 40px;
    background: var(--background-color-2);
    box-shadow: var(--shadow-2);
}

.pos-billing-toggle button {
    border: 0;
    padding: 10px 26px;
    border-radius: 40px;
    background: transparent;
    color: var(--color-lightn);
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
}

.pos-billing-toggle button.active {
    background: var(--gradient-red-hover);
    color: var(--color-white);
}

.pos-billing-toggle button small {
    font-size: 12px;
    opacity: .85;
}

/* ---------- Tarjetas de planes ---------- */
.pos-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 45px 35px 40px;
    border-radius: 10px;
    background: var(--background-color-1);
    box-shadow: var(--shadow-1);
}

.pos-plan.featured {
    border: 2px solid var(--color-primary);
}

.pos-plan .ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    border-radius: 20px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

.pos-plan .plan-name {
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.pos-plan .plan-title {
    min-height: 2.6em;
    margin: 10px 0 14px;
    font-size: 24px;
    line-height: 1.3;
    color: var(--color-lightn);
}

.pos-plan .plan-summary {
    font-size: 16px;
    line-height: 1.6;
    min-height: 77px;
}

.pos-plan .price {
    margin: 20px 0 6px;
    color: var(--color-white);
    font-size: 40px;
    font-weight: 700;
    line-height: 1.1;
}

.pos-plan .price small {
    color: var(--color-body);
    font-size: 16px;
    font-weight: 400;
}

.pos-plan .price-note {
    min-height: 24px;
    font-size: 14px;
    color: var(--color-success);
}

.pos-plan ul {
    flex-grow: 1;
    margin: 25px 0 35px;
    padding: 25px 0 0;
    list-style: none;
    border-top: 1px solid #121415;
}

.pos-plan ul li {
    display: flex;
    gap: 10px;
    margin: 0 0 14px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-lightn);
}

.pos-plan ul li svg {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 3px;
    color: var(--color-primary);
}

.pos-plan .rn-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.pos-plan .rn-btn svg {
    width: 18px;
    height: 18px;
}

.pos-plan.featured .rn-btn {
    background: var(--gradient-red-hover);
    color: var(--color-white);
}

.pos-pricing-note {
    margin-top: 40px;
    font-size: 15px;
    text-align: center;
}

/* ---------- Equipos ---------- */
.pos-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.pos-steps li {
    position: relative;
    padding: 0 0 26px 60px;
    counter-increment: step;
}

.pos-steps li::before {
    content: counter(step);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--background-color-1);
    box-shadow: var(--shadow-1);
    color: var(--color-primary);
    font-weight: 700;
}

.pos-steps li h5 {
    margin: 8px 0 6px;
    color: var(--color-lightn);
    font-size: 19px;
}

.pos-steps li p {
    margin: 0;
    font-size: 16px;
}

/* ---------- Preguntas frecuentes ---------- */
.pos-faq .accordion-item {
    margin-bottom: 20px;
    border: 0;
    border-radius: 10px !important;
    background: var(--background-color-1);
    box-shadow: var(--shadow-1);
    overflow: hidden;
}

.pos-faq .accordion-button {
    padding: 22px 28px;
    background: transparent;
    color: var(--color-lightn);
    font-size: 18px;
    font-weight: 500;
    box-shadow: none;
}

.pos-faq .accordion-button:not(.collapsed) {
    color: var(--color-primary);
}

.pos-faq .accordion-button::after {
    filter: invert(1);
}

.pos-faq .accordion-body {
    padding: 0 28px 24px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-body);
}

/* ---------- CTA final ---------- */
.pos-cta {
    padding: 60px 40px;
    border-radius: 10px;
    background: var(--background-color-1);
    box-shadow: var(--shadow-1);
    text-align: center;
}

.pos-cta h2 {
    color: var(--color-lightn);
    font-size: 36px;
}

.pos-cta p {
    max-width: 620px;
    margin: 0 auto 30px;
}

.pos-cta .rn-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ---------- Botón flotante de WhatsApp ---------- */
.pos-wa-float {
    position: fixed;
    right: 24px;
    bottom: 100px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    box-shadow: 0 6px 20px rgba(0, 0, 0, .35);
    transition: var(--transition);
}

.pos-wa-float:hover {
    color: #fff;
    transform: scale(1.08);
}

.pos-wa-float svg {
    width: 28px;
    height: 28px;
}

@media only screen and (max-width: 767px) {
    .pos-plan .plan-title,
    .pos-plan .plan-summary {
        min-height: 0;
    }

    .pos-cta {
        padding: 40px 20px;
    }

    .pos-cta h2 {
        font-size: 28px;
    }

    .pos-billing-toggle button {
        padding: 10px 16px;
    }

    .pos-wa-float {
        right: 16px;
        bottom: 90px;
    }
}
